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]
Other format: [Raw text]

Re: Issue building cross powerpc64-linux


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


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