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 binutils toolchain for IOP platform
  Written: August 23, 2003 @ 0:25 AM By: Thorsten Titze
 
 

Compilation of the IOP toolchain is almost the same as comiling the EE toolchain. Since the IOP target already is a standard target of the GCC compiler we don't have any patches to apply.

  • 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-BINUTILS directory

    cd /gcc/build-binutils

  • 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

    ../binutils-2.13.2.1/configure --target=$target --prefix=$prefix

  • 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