This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

cross compile question


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]