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 Newlib for PowerPC platform
  Written: January 23rd, 2002 @ 18:09 GMT By: Thorsten Titze
 
 

After we successfully built the binutils and the GCC for the PowerPC now comes the newlib libraries we may need!

  • 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 the SH4 toolchain guide)

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


  • Change to your BUILD-NEWLIB directory

    cd /gcc/build-newlib

  • Configure your makefile so that it reflects your TARGET and DIRECTORIES

    ../newlib-1.11.0/configure --target=$target --prefix=$prefix

    (and finally here we go with the longest configuration time <g> ;)

  • Without further changes make the project

    make all install

That is was for the compiling part of the PowerPC newlib. Now we'll get the final PowerPC GCC compiler including C++ support compiled.



  Go to the homepage of the NewLib 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:14 PM Contact me via eMail