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

See the CrossGCC FAQ for lots more infromation.


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

Re: Building a cross compiler for the StrongARM processor in Pentium/ linux host environment




On Tue, 11 Jan 2000, Saxena, Nikita wrote:

> 
> Hi,
> 
> I'm trying to build a cross compiler as mentioned in the subject.  However,
> while binutils builds fine, I'm not having much luck building the cross
> compiler.  Before atleast, I would get to the point where it complains about
> stdlib.h and unistd.h.  Now, however, when I tried to build from scratch, it
> fails while trying to configure the cross compiler.  It complains that it
> can't find a working compiler...I use
> 
> /usr/local/src/gcc-2.95.2/configure --target=arm-aout --host=i686-linux
> --enable-languages=c --prefix=/usr/local
> 
> Do I need to build a native compiler?  What should the CC environment
> variable point to...I mean where is the compiler in the gcc source?

You have to have working ntive gcc on your linux. Also, it seems
reasonable to use --with-newlib option (you have to get newlib,
naturally).

> 
> Thanks,
> Nikita Saxena
> 

Thanks,

Aleksey



------
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]