Skip to content
Liu Woon Yung edited this page Jun 27, 2018 · 4 revisions

PS2 Toolchain

The PS2 Toolchain is a collection of tools, meant for the creation of software for the Sony PlayStation 2 console. It will build and install these components:

  • Binutils
  • GCC
  • Newlib (C++ library for the EE)
  • PS2SDK (Homebrew SDK for the IOP and EE)
  • ps2link

For the convenience of the developer, a script is provided to automate the building and installation of these components. However, it is not always a requirement to rebuild all components, just to update one part (e.g. the PS2SDK).

Building

You can build and install the PS2 toolchain this way:

$ git clone git://github.com/ps2dev/ps2toolchain.git
$ cd ps2toolchain/
$ sudo ./toolchain-sudo.sh

Confirmed to work with the following gcc versions:

  • gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3 [i386+amd64]
  • gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1 [amd64]

Prerequisites

  • gcc & g++
  • make
  • patch
  • git
  • wget
  • libucl-dev (for ps2-packer)
  • zlib1g-dev (for ps2-packer)
Clone this wiki locally