welcome to www.hangar-eleven.de - your premier resource for console development





Development Env

Installing Cygwin
Installing MingW/MSys

Building PowerPC toolchain
Making Binutils
Making xGCC
Making Newlib
Making final GCC

Compiling libOGC

Testing LIB and compilers
Compiling/upping an example

Back to News

 

  Compiling the PowerPC cross-compiler
  Written: January 23rd, 2002 @ 18:09 GMT By: Thorsten Titze
 
 

After we are now through with the NewLib compilation we can now compile our final GCC including the C++ support.

  • Set the needed environment variables in your shell with the following commands:
    (you should have already set them if you're going step-by-step through all the toolchain guides)

    target=powerpc-eabi-elf
    prefix=/usr/local/ngc/$target
    binaries=$prefix/bin
    PATH=$binaries:$PATH

  • Change back to your BUILD-GCC directory

    cd /gcc/build-gcc

  • Since we already did the appropriate configure we only have to compile the rest of GCC. Start the make-procedure including install

    make all install

Now we have the complete PowerPC toolchain in /usr/local/ngc/powerpc-eabi-elf/bin. Now would be the best time to add the binary path to the global path environment in order to easily access the compilers.


  Go to the homepage of the GCC Project

Back to GameCube Development Main


DISCLAIMERS:
Website Design © 2002 by Thorsten Titze / hangar-eleven.de
(the pictures used for the design were taken from a WindowsXP Skin and WindowsXP)
All brand names used on this site are registered trademarks of their respective owners
No copyright infringement is intended
Last updated @ 17-Jan-2004 10:04 PM Contact me via eMail