powerpc cross compiler on i686 linux
F. Heitkamp
fheitka@attglobal.net
Sun Apr 1 16:37:00 GMT 2001
I've been trying to build a powerpc cross compiler on
my PC running Linux so I can compile powerpc linux kernels.
I've built and installed the cross binutils.
I can't get gcc to build because it keeps wanting the unistd.h and
other header files I suppose are from glibc or newlib.
I've been looking through the cross gcc FAQ and have tried some
of the suggestions to no avail. I even tried defining inhibit_libc.
It stops on libgcc2.c and frame.c for starters.
I am willing to use glibc to build the compiler but all the FAQ
references newlib.
Heres the last configure I tried:
../gcc-2.95.3/configure --prefix=/drives/sg3/ppc-tools
--exec-prefix=/drives/sg3/ppc-tools/ --program-prefix=powerpc-linux-gnu-
--target=powerpc-linux-gnu
--with-as=/drives/sg3/ppc-tools/bin/powerpc-linux-gnu-as
--with-ld=/drives/sg3/ppc-tools/bin/powerpc-linux-gnu-ld
What am I missing?
--
Fred
More information about the Gcc-help
mailing list