From: Bryan O'Donoghue <typedef@eircom.net>
To: Peter Hanson <peterh@google.com>
Cc: Steven Blakeslee <BlakesleeS@embeddedplanet.com>,
linuxppc-embedded@ozlabs.org
Subject: Re: Howto Cross Compile GCC to run on PPC Platform
Date: Fri, 28 Oct 2005 21:48:42 +0100 [thread overview]
Message-ID: <43628EAA.6080409@eircom.net> (raw)
In-Reply-To: <50e923300510281227i15609c9dt7778ecbe20920dfa@mail.google.com>
Peter Hanson wrote:
> On 10/28/05, Steven Blakeslee <BlakesleeS@embeddedplanet.com> wrote:
>
>>>get it to cross compile gcc (to run on ppc). Does anyone
>>>know of a good HowTo to do this?
>>
>>Karim Yaghmour's "Building Embedded Linux Systems"
>>
>>
>>
>>> I'm currently downloading the source distro of ELDK, so if
>>>it's already in there I'll find it, but if there is one
>>>elsewhere online please let me know.
>>
>>Very good, full of features.
>
>
> My favorite cross tool chain site:
>
> Building and Testing gcc/glibc cross toolchains
> http://kegel.com/crosstool/
>
> Look into Canadian crosses. At the very least you should find the
> discussion helpful.
I'd use the ELDK if I were you as an x86 hosted cross compiler, if only
because it makes sense in terms of compiling bootloader & kernel with
the same toolchain. Also, if memory serves the ELDK comes with a powerpc
gcc in the supplied ppc root file system.
Alternatively : you can use the uClibc toolchain, to generate a similar
setup.
Here's a script I've thrown together since I sometimes need to generate
gcc toolchains easily for various targets. I've tested it with arm and
powerpc and because, it might be useful to switch between c libraries. ymmv.
http://netsoc.dit.ie/~deckard/software/build_compiler.sh. This script is
based on some excellent documents that Red Hat produced.
http://sources.redhat.com/ml/crossgcc/2005-08/msg00114/l-cross-ltr.pdf
--
"Caveat Emptor" -- James T. Kirk, in no such episode
next prev parent reply other threads:[~2005-10-28 20:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-28 15:57 Howto Cross Compile GCC to run on PPC Platform Steven Blakeslee
2005-10-28 19:27 ` Peter Hanson
2005-10-28 19:38 ` Robert P. J. Day
2005-10-28 20:48 ` Bryan O'Donoghue [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-10-28 15:55 Jeff Stevens
2005-10-28 18:51 ` Ryan Wilkins
2005-10-28 20:51 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43628EAA.6080409@eircom.net \
--to=typedef@eircom.net \
--cc=BlakesleeS@embeddedplanet.com \
--cc=linuxppc-embedded@ozlabs.org \
--cc=peterh@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.