GCC cross compilatin for powerpc target

Laurent Pinchart laurent.pinchart@capflow.com
Mon Aug 6 08:34:00 GMT 2001


Hi

I'm trying to build a cross compiler for a powerpc-linux-gnu target on a 
i686-pc-linux-gnu host.

I read the instructions, the Cross FAQ, but I still have a problem.

I want to use glibc (2.2.2) as the standard C lib on the target system. 
When building gcc, it needs the glibc header files, and of course the 
target glibc is not built yet. I tried the 
--with-headers=/path/to/glibc/sources/include option to configure, but 
the include files in the glibc source tree include directory refer to 
other include files in the glibc tree, so the compilation of libgcc fails.

Could anyone help me ?

Thank you.

Laurent Pinchart




More information about the Gcc-help mailing list