This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GCC cross compilatin for powerpc target
- To: gcc-help at gcc dot gnu dot org
- Subject: GCC cross compilatin for powerpc target
- From: Laurent Pinchart <laurent dot pinchart at capflow dot com>
- Date: Mon, 06 Aug 2001 17:32:10 +0200
- Reply-To: laurent dot pinchart at capflow dot com
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