Help w/ gcc cross build failing

Jay.Kulpinski@gd-ais.com Jay.Kulpinski@gd-ais.com
Thu Aug 26 16:52:00 GMT 2004


On Thursday 26 August 2004 11:31 am, Jon Watson wrote:
> If I run make without specifying a target I get the same error. The only
> difference I see is that now make reports failing a different chain of
> targets: [genmodes.o], [stage2_build], then [quickstrap], then [all-gcc].
> See below for full output...


What did you use for the "configure" command parameters before 
running make?  Did you supply the "--target=powerpc-eabi" option?

If you properly configure, you don't need any explicit target on
the make command line.  You will need to limit the build to just
the C compiler until newlib is built.  If you use a full gcc tar
file, i.e. gcc-3.4.1.tar.bz2 rather than gcc-core-3.4.1.tar.bz2,
you would want to add LANGUAGES="c" to your make command.

Once that completes, do a "make install" and build newlib.  Then
you can go back and rebuild gcc with C++ support if you need that.

>
> The only reason I tried the bootstrap target is that a guy here who built
> GCC 2.9x on his Sun workstation for SunOS x years ago told me to try it
> that way... :)
>

Right - you need that for a native compiler build.

> Thanks for the pointers to the script... I'm going to read through them and
> see if I can use them.
>
> Jon Watson




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