Re: gcc-2.95 broken on PPC?

Peter Barada
2003-04-12T19:00:39Z

> > The down side is that creating cross compilers from gcc 3.x is a lot
> > harder unless you already have a cross compiled glibc from gcc 2.95.x
> > in the proper paths.
>
>Yep. I'm not looking forward to dealing with that. Shame the gcc
>team keeps making building cross compilers harder.

It isn't that hard to build a cross compiler straight from the 3.x
sources; just takes an extra pass. I've had pretty good luck building
m68k-linux and ppc-linux cross C/C++ compilers from the sources, all I
needed to do was to build a boostrap C compiler that is used to build
glibc, and then come back and build a full up C/C++ compiler. Check
out the build script from Bill Gatliff's site:

<http://crossgcc.billgatliff.com/build-crossgcc.sh>

--
Peter Barada
peter@baradas.org