Re: gcc-2.95 broken on PPC?

Peter Barada (peter@baradas.org)
Sat, 12 Apr 2003 15:12:22 -0400 (EDT)


> > 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/