This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ct-ng: force host=i486 when building on x86_64


On 11/01/2010 06:51 PM, Brian St. Pierre wrote:
I'm using crosstool-ng on an x86_64 machine. I'd like the resulting
compiler to run on a 32-bit x86 (i486).

You might try 'linux32' command from util-linux package. I use it for the same purposes than you and so far it is working well.


$ uname -m
x86_64
$ linux32
$ uname -m
i686

Have a look at the manpage, but basically is just a matter of executing it in a shell *before* running crosstool-ng to built the toolchain.


--
Regards,

Javier Viguera


-- For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]