- To: Aurelien Buhrig <aurelien.buhrig.gcc@xxxxxxxxx>
- Subject: Re: Issue building cross powerpc64-linux
- From: Ian Lance Taylor <iant@xxxxxxxxxx>
- Date: Fri, 23 Mar 2012 11:16:50 -0700
- Cc: gcc-help@xxxxxxxxxxx
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- In-reply-to: <4F6CA587.6010607@gmail.com> (Aurelien Buhrig's message of "Fri, 23 Mar 2012 17:32:07 +0100")
- User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Aurelien Buhrig <aurelien.buhrig.gcc@xxxxxxxxx> 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
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]