[Mono-dev] Compiling for i586 Linux target on an i686 Linux machine
bassam at symform.com
Tue Sep 17 20:19:06 UTC 2013
On Sep 16, 2013, at 2:49 PM, Chris Tacke <ctacke at opennetcf.com<mailto:ctacke at opennetcf.com>> wrote:
I need to get a 32-bit i586 build of the latest version of Mono to run on an embedded target.
For a build machine I’m using Ubuntu 12 on 32-bit i686 VM.
I have successfully pulled the Mono sources and built them using the default configuration, and the resulting Mono binaries work just fine ion an i686 machine. When I attempt to run on an i586 machine, I get an error that simply says “Illegal instruction”
I assume that I need to cross-compile for i586, but I can’t find a --target setting that works
I’ve tried a few things:
And I always get an error along these lines (the target name changes with what I send in):
Configure: error: Cross compiling is not supported for target i586-pc-linux-gcc
Is there a known-good –target flag that I can send in to get a cross-compiled i586 output?
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com<mailto:Mono-devel-list at lists.ximian.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list