Learn how to build a GNU cross compiler for PowerPC code development by downloading the PowerPC 750GX/FX evaluation kit (free reg. req.). The source code illustrates how to initialize and utilize various features of the processor–memory management unit, interrupts, and debugging features. The board schematics provide an example of how to connect the processor to a system controller (bridge) chip and other components in the system.
./configure –target=ppc
That’s all I needed to do until now. This is more of a plug for “Writing code for PPC 750” .
There’s several places to get powerpc tools already, or that tell you how to build them. Look at instructions at
http://ecos.sourceware.org/build-toolchain.html
or for that matter, just download prebuilts when you install the (open source) RTOS eCos from
http://ecos.sourceware.org/getstart.html
In which case you may as well just use eCos and have a complete BSP and RTOS for a whole bunch of PowerPC targets.
why don’t they develop a GNU version for the ppc or even better! why don’t they develop an ppc-enhanced version of gcc by simply supporting them? wouldn’t it be better for foss??
Or you can use the one from IBM and get fully optimized executables too. This is what I’ll never understand: using open source for the sake using open source is like driving a happily Yugo just because it will use less gas and is easier to park in a tight spot.
… happily driving a Yugo …
oops.
I know that Mac OS X isn’t in the scope of this article and this entire post is therefore off-topic… but if you want to build a cross-compiler to target Mac OS X, you probably want to get the Apple GCC codebase, rather than the stock GNU codebase. Apple has added a bunch of extra stuff.