[Mono-dev] Compiling for i586 Linux target on an i686 Linux machine

Bassam Tabbara bassam at symform.com
Tue Sep 17 20:19:06 UTC 2013



./configure --host=i585-unknown-linux-gnu


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:

./configure --target=i586
./configure --target=i586-linux
./configure --target=i586-linux-gcc

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...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130917/b58a71a2/attachment.html>

More information about the Mono-devel-list mailing list