Binutils snapshot 20020303 make building gcc-3.0.4 for arm-el f fa il
Reji P Rajesh
rejip@cdotb.ernet.in
Tue Mar 5 02:12:00 GMT 2002
HI,
Bootstrapping is required only if we don't have a native gcc
compiler installed on the host machine.
reji
On Tue, 5 Mar 2002, Vermeulen Jan wrote:
> Hello Peter,
>
> >
> >With binutils-2.11.2 the are no problems. But only if the host gcc is
> >version 3.0.4. With gcc-2.95.2 as host gcc the build fails.
> >
> > I use these commands:
> >
> > cd build-binutils-020303/
> > ../binutils-020303/configure --target=arm-elf
> > --prefix=/opt/local/arm-elf-gcc3.0.4
> > gmake all info install
> >
> > cd ../gcc-3.0.4/gcc/
> > ln -s ../../newlib-1.10.0/newlib .
> > cd ../../build-gcc-3.0.4/
> >
> > PATH=/opt/local/arm-elf-gcc3.0.4/bin:/usr/local/bin:$PATH
> > ../gcc-3.0.4/configure --target=arm-elf
> > --prefix=/opt/local/arm-elf-gcc3.0.4
> > --with-gnu-as --with-gnu-ld --
> > with-newlib --enable-threads --enable-languages=c,c+
>
> It might be a typo when you did the copy&paste, but
> "--enable-languages=c,c+" should read "--enable-languages=c,c++".
> Or --enable-languages="c,c++".
>
> I don't know if your way is a good way on HPUX, but most people first make a
> bootstrap ( --with-newlib --without-headers --enable-languages=c ) to make
> the newlib libraries before they make a full C/C++ compiler.
> Checkout http://crossgcc.billgatliff.com for more information.
>
> When building the same GCC with the previous binutils (2.11.2), did you also
> use the same configure commands?
>
> Btw, why do you use a binutils snapshot?
>
> Jan
>
> ------
> Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
>
>
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list