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





Development Env

Installing Cygwin

Building EE (R5900) toolchain
Compiling EE binutils
Compiling EE GCC

Building IOP(R3000) toolchain
Compiling IOP binutils
Compiling IOP GCC

Compiling PSX2LIB

PS2 Independence Exploit

Testing LIB and the Compilers
Writing the first program
Compiling the first program
Uploading to the PS2

Making a CD

Back to News

 

  Compiling GCC for IOP platform
  Written: January 16th, 2002 @ 14:36 GMT By: Thorsten Titze
 
 

Since we now have the binutils tools for the IOP compiled we can now try to compile the cross compiler.Again, due to the fact that the IOP processor is a standard target we don't have to patch any of our sources.

  • In case you are not compiling binutils and gcc in one go, set the needed environment variables in your shell with the following commands:

    target=mipsel-scei-elfl
    prefix=/usr/local/ps2/$target
    binaries=$prefix/bin
    PATH=$binaries:$PATH

  • Change to your BUILD-GCC directory

    cd /gcc/build-gcc

  • In case you're compiling the IOP just after the EE toolchain clean up

    make clean

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

    ../gcc-3.2.2/configure --target=$target --prefix=$prefix --program-prefix=iop- --with-gnu-as --with-gnu-ld --enable-languages=c --with-newlib --without-headers

  • Start the make-procedure including install

    make all install

Now you have your PS2EInput/Output Processor GCC Compiler sitting in /usr/local/ps2/mipsel-scei-elfl/bin.

HINT:
As with the EE tools also for some IOP tools it is recommended to create some symbolic links. So you should go to your target directory (if you followed the tutorial it's /usr/local/ps2/mipsel-scei-elfl) and execute the following commands::

ln -s mipsel-scei-elfl-gcc iop-gcc
ln -s mipsel-scei-elfl-ar iop-ar
ln -s mipsel-scei-elfl-ld iop-ld

In case these are not enough you might link all the other IOP tools as well !

  Go to the sourceforge homepage of KallistiOS

Back to Playstation 2 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 @ 23-Aug-2003 5:10 PM Contact me via eMail