[Mono-dev] Building from Source Fails with mcs: Command not found (Mono-devel-list Digest, Vol 121, Issue 19)

cyd chaselton at gmail.com
Fri May 22 00:16:08 UTC 2015


Let me back up a few steps before I start troublehooting this.

Does the monolite build of mono 4.0 support ARM...specifically ARMv7?  If
so, are there any modifications I need to make before running 'make && make
install?'


Jo Shields wrote
> On 21/05/15 12:39, cyd wrote:
>> Done.  Results were:
>>
>> make[3]: Entering directory `/bld/mono/mono-4.0.0/mono/mini'
>> MONO_PATH=/bld/mono/mono-4.0.0/mcs/class/lib/net_4_5
>> ../../runtime/mono-wrapper
>> /bld/mono/mono-4.0.0/mcs/class/lib/build/mcs.exe
>> -unsafe -nowarn:0162 -out:TestDriver.dll -target:library TestDriver.cs
>> Illegal instruction
> 
> basic.exe is *supposed* to be "PE32 executable for MS Windows (console)
> Intel 80386 32-bit Mono/.Net assembly" - all .NET apps are.
> 
> You're missing the most important part here: the "Illegal instruction".
> 
> SIGILL comes from the kernel when your Mono runtime (mono/mini/mono) is
> trying to execute instructions which your CPU doesn't support - e.g.
> ARMv7 instructions on an ARMv6 chip.
> 
> This error here means your compiled Mono runtime in mono/mini is trying
> to execute basic.exe, issuing a CPU instruction which your CPU doesn't
> have, and crashing.
> _______________________________________________
> Mono-devel-list mailing list

> Mono-devel-list at .ximian

> http://lists.ximian.com/mailman/listinfo/mono-devel-list





--
View this message in context: http://mono.1490590.n4.nabble.com/Building-from-Source-Fails-with-mcs-Command-not-found-tp4666000p4666021.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list