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]

GCC cross compilatin for powerpc target


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



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