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

2013-09-17 Thread Bassam Tabbara
Chris,

Try:

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

Thanks!
Bassam

On Sep 16, 2013, at 2:49 PM, Chris Tacke 
cta...@opennetcf.commailto:cta...@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?


-Chris

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.commailto:Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


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

2013-09-16 Thread Chris Tacke
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?


-Chris

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list