Installing gcc cross compiler in windows

OP #2014461
Dear Sir,

We want to use gcc to cross compile 'Source code' to a target board(with 
freescale's PowerPC-MPC8260).
The Source code will bring up the target(using assembly language), and 
run the code written in 'C' to test the board functionality. No 
OS(embedded OS) is involded in this source code.

We want to use gcc to cross compile this code to PowerPC - MPC8260.

If we want to use gcc c cross compiler for MPC8260, what is procedure to 
be followed in windows(as we are new to linux OS) ?

Please help me in using gcc as a cross compiler for PowerPC in windows 
OS(may be using cygwin).
Any references to documents/application notes/links would be 
appreciated.

Thank you.

Regards,
Thulasi Ramu J
Moderator
Please see the source-files of Yagarto and DevkitPro/DevkitARM available 
from sf.net. Scripts to build a cross-toolchain for MS-Windows hosts in 
MS-Windows are given there. Of cause the target-parameter needs to be 
changed for a PPC target.

Another option is to build for a cygwin-environment (which also runs in 
MS Windows). But the resulting binaries will depend on cygwin-DLLs. With 
cygwin the usual descriptions to build a cross-toolchain with Linux 
should be valid (for example Dan Kegel's crosstool).

The third option is to use a Unix/Linux system to build the cross 
toolchain for MS-Windows hosts and PPC targets 
(http://en.wikipedia.org/wiki/Cross_compiler#Canadian_Cross). Basic 
method can been seen in the build scripts in the source archive of 
Codesourcery's G++ (at least in older packages, I did not check the 
latest ones)

Edit: ready-made:
http://www.codesourcery.com/sgpp/lite/power

Reply

A question of your own? This thread is over 15 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.