RE: Howto Cross Compile GCC to run on PPC Platform

4 messages, 4 authors, 2005-10-28 · open the first message on its own page

RE: Howto Cross Compile GCC to run on PPC Platform

From: Steven Blakeslee <hidden>
Date: 2005-10-28 15:58:05

get it to cross compile gcc (to run on ppc).  Does anyone=20
know of a good HowTo to do this?
Karim Yaghmour's "Building Embedded Linux Systems"
 =20
 I'm currently downloading the source distro of ELDK, so if=20
it's already in there I'll find it, but if there is one=20
elsewhere online please let me know.
Very good, full of features.

Re: Howto Cross Compile GCC to run on PPC Platform

From: Peter Hanson <hidden>
Date: 2005-10-28 19:37:46

On 10/28/05, Steven Blakeslee [off-list ref] wrote:
quoted
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"

quoted
 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.

Re: Howto Cross Compile GCC to run on PPC Platform

From: Robert P. J. Day <hidden>
Date: 2005-10-28 20:11:10

On Fri, 28 Oct 2005, Peter Hanson wrote:
On 10/28/05, Steven Blakeslee [off-list ref] wrote:
quoted
quoted
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"

quoted
 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/
the Linux From Scratch site also has some useful discussion on
building toolchains:

http://www.linuxfromscratch.org/

rday

Re: Howto Cross Compile GCC to run on PPC Platform

From: Bryan O'Donoghue <hidden>
Date: 2005-10-28 20:42:04

Peter Hanson wrote:
On 10/28/05, Steven Blakeslee [off-list ref] wrote:
quoted
quoted
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"


quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help