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

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Mon Nov 1 17:58:00 GMT 2010


Brian, All,

On Monday 01 November 2010 18:51:16 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).
> 
> I tried setting --host=i486-linux-gnu in the c-compiler options, but
> the libraries still configure for x86_64, which doesn't seem like it
> will work.
> 
> Is there a supported way to do this, or do I have to resort to a
> Canadian-cross style build?

That definitely is a canadian cross that you want.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



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



More information about the crossgcc mailing list