compiling native compiler using a cross compiler?

Yves Rutschle y.rutschle@indigovision.com
Mon Jul 2 08:07:00 GMT 2001


> I've been struggeling all day to try to figure out how to get 
> gcc-2.95.3
> compiled natively for arm, using an arm cross compiling 
> toolchain (based
> on 2.95.2). If anyone has any advice, it would be appreciated.  The
> canadian cross mentioned in the FAQ seemed somewhat 
> applicable, but I'm
> not trying to build a cross compiler using a cross compiler.  
> I just want
> a native version of the compiler I'm using.

Hi Shaya,

If you have an already working cross-compile gcc toolchain,
it should be as easy as configure --prefix=somewhere 
--target=arm-linux --host=arm-linux -v
after setting your path so that you catch the correct "gcc".

HTH,
Y.

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list