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

 

  Installing the Cygwin environment
  Update: August 22, 2003 @ 11:46 PM By: Thorsten Titze
 
 

In order to be able to build the toolchains for both of Playstation 2™ processors (Emotion Engine and Input/Output Processor) you have to have the CygWin Environment installed or you have to use LiNUX as your development system.

This Cygwin toolkit gives you a UNiX-like environment on Windows, including all the well-known GNU tools, a GCC compiler and BINUTILS.

The best and easiest way is to download the setup.exe file which can be downloaded here. Here's a step-by-step walkthrough of how to install the environment.

  • Download the setup.exe
  • Make a directory where the installer should be downloaded to
  • The tool will ask what it should do. Choose Download from Internet
  • Push button Next->
  • Browse to the installer directory you created
  • Push button Next->
  • Choose appropriate internet configuration
    (mostly direct connection will do fine)
  • Push button next->
    Choose a mirror close to you
  • Push button next->
    On the next page you can select which packages to download
    (I would prefer just downloading all of these packages they migh come in handy)
  • Push button next->
  • Sit back and enjoy a lengthy download

After the download finished you have the complete CygWin-Installer residing on your harddisk. Now it is time to install the packages you just downloaded:

  • Run setup.exe again
  • This time choose Install from Local Directory
  • Choose the installer-directory (it's your source) and hit Next-->
  • Choose a destination-directory (e.g. C:/Cygwin) and hit Next-->
  • The installer starts it's work


Locate the folder Cygnus Solutions in your Startmenu and start CygWin Bash Shell. If a BASH prompt appears the installation was successful. Now you have a UNiX environment within your Windows.

Before being able to build the Cross Compiler, the tools and libraries for the Playstation 2T you need the sources for the components. You can grab the source packages here.

You will need the following packages:
(NOTE:The standard GNU packages do not offer target platforms for the EE or IOP processor, so here is a link to the already patched set of sources for both processors)

  1. binutils-2.13.2.1.tar.bz2 (original GNU package)
  2. binutils-2.13.2.1-EE.diff.gz (PS2 EE/IOP patch)
  3. gcc-3.2.2.tar.bz2 (original GNU package)
  4. gcc-3.2.2-EE.diff.gz (PS2 EE/IOP patch)


  Go to the homepage of the GNU project [offsite link]

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