This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
powerpc cross compiler on i686 linux
- To: gcc-help at gcc dot gnu dot org
- Subject: powerpc cross compiler on i686 linux
- From: "F. Heitkamp" <fheitka at attglobal dot net>
- Date: Sun, 01 Apr 2001 19:39:48 -0400
- Organization: none
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