This is the mail archive of the crossgcc@sources.redhat.com 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]

RE: compiling native compiler using a cross compiler?


> 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


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