I found it hard to build a gcc/glibc cross toolchain
from scratch for recent versions of gcc.
(Bill Gatliff's crossgcc script was a good guide, but hadn't
been updated for gcc-3.2.)
So I updated Bill's crossgcc script, and for good measure,
added support for all ten platforms glibc supports.
So if you need to build a cross-gcc and glibc for
any of the following architectures:
i686, ppc, sh4, alpha, sparc, arm, mips, cris, ia64, or s390
my script should be helpful. You can grab it at
It does nothing you couldn't figure out yourself, but it
could save you some time.
Share & enjoy,