cross compile question
F. Heitkamp
fheitka@attglobal.net
Mon Apr 2 05:10:00 GMT 2001
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
More information about the Gcc-help
mailing list