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]
Other format: [Raw text]

RE: Help with gcc-3.3.2 for ARM


> tar --bzip2 -xvf gcc-3.3.2.tar.bz2
> 
> mkdir build-gcc
> 
> cd build-gcc
> 
> ../gcc-3.3.2/configure --target=arm-linux
> --prefix=/usr/local/arm --host=i686-pc-linux-gnu
> --with-newlib
> --with-headers=../newlib-1.11.0/newlib/libc/include


I am bit skeptical about the correctness of using
"--with-headers=../newlib-1.11.0/newlib/libc/include"

I think the correct way is to use "--without-headers" option and build the
bootstrap GCC first. Then build your Newlib against the target, and then
build your final GCC.

Kindly refer:
http://billgatliff.com/twiki/bin/view/Crossgcc/BuildBootstrapGcc and the
pointers there.

Regds,
Manoj

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


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