Issue building cross powerpc64-linux

Ian Lance Taylor iant@google.com
Fri Mar 23 18:17:00 GMT 2012


Aurelien Buhrig <aurelien.buhrig.gcc@gmail.com> writes:

> I'm trying to build mainline to test patches on various targets. I
> successfully compiled it on RHEL5 x86_64 for m68k-elf target and bootstrap.
> But I cannot build it for powerpc64-linux target. It fails compiling
> libgcc due to missing libc headers.
>
> Configured with --with-newlib --enable-languages=c
> --target=powerpc64-linux --with-gmp=[...] --with-mpfr=[...] --with-mpc=[...]
>
> Any idea how I can make it work?

Building a cross-compiler to a GNU/Linux target is complex.  There are
various scripts out there that can help.  Try looking at
http://crosstool-ng.org/ .

Ian



More information about the Gcc-help mailing list