This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
cross compile question
- To: gcc help <gcc-help at gcc dot gnu dot org>
- Subject: cross compile question
- From: "F. Heitkamp" <fheitka at attglobal dot net>
- Date: Mon, 02 Apr 2001 08:12:35 -0400
- Organization: none
I've been trying to compile a powerpc cross compiler on
my i686 Linux.
I get cross binutils compiled and installed OK but I can't
seem to get gcc-2.95.3 to finish compiling. I've tried most
things in the FAQ but it won't compile without the glibc headers.
The compile complains about <unistd.h> and other headers.
This is the configure line I am using.
../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
Can anyone help?
I will use the glibc files, but just substituting glibc for newlib
doesn't seem to work.
--
Fred