Howto Cross Compile GCC to run on PPC Platform

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

Howto Cross Compile GCC to run on PPC Platform

From: Jeff Stevens <hidden>
Date: 2005-10-28 15:55:11

   I am trying to compile GCC on an x86 platform to
run natively on an embedded PPC platform.  I am able
to compile gcc as a cross compiler (to run on x86),
but can't seem to get it to cross compile gcc (to run
on ppc).  Does anyone know of a good HowTo to do this?
 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.

Thanks,
   Jeff Stevens


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

Re: Howto Cross Compile GCC to run on PPC Platform

From: Ryan Wilkins <hidden>
Date: 2005-10-28 19:23:05

I've used crosstool-0.38 to generate an ARMv5b cross compiler and  
then the script referenced from the link below to create the native  
GCC from the cross compiler.  It should really be not much different  
to make a PPC native platform.  I hope you have a fast machine.. It  
takes a while.

http://sources.redhat.com/ml/crossgcc/2005-08/msg00037.html

Ryan Wilkins

On Oct 28, 2005, at 11:55 AM, Jeff Stevens wrote:
   I am trying to compile GCC on an x86 platform to
run natively on an embedded PPC platform.  I am able
to compile gcc as a cross compiler (to run on x86),
but can't seem to get it to cross compile gcc (to run
on ppc).  Does anyone know of a good HowTo to do this?
 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help