Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 1.53 KB

readme.md

File metadata and controls

52 lines (38 loc) · 1.53 KB

CI License

What does this do?

This program will automatically build and install a compiler and other tools used in the creation of homebrew software for the Sony Playstation 3 videogame system.

How do I use it?

  1. Set up your environment by installing the following software:

autoconf, automake, bison, flex, gcc, libelf, make, makeinfo, ncurses, patch, python, subversion, wget, zlib, libtool, python, bzip2, gmp, pkg-config, g++, libssl-dev, clang

Linux

Specifically on debian-based systems, the following command line should be enough to install everything necessary:

  apt-get install autoconf automake bison flex gcc libelf-dev make \
    texinfo libncurses5-dev patch python subversion wget zlib1g-dev \
    libtool libtool-bin python-dev bzip2 libgmp3-dev pkg-config g++ libssl-dev clang

macOS

On macOS systems, if you have Homebrew package manager, the following command line should be enough to install everything necessary:

brew install autoconf automake openssl libelf ncurses zlib gmp wget pkg-config
  1. Add the following to your login script:
  export PS3DEV=/usr/local/ps3dev
  export PSL1GHT=$PS3DEV

  export PATH=$PATH:$PS3DEV/bin
  export PATH=$PATH:$PS3DEV/ppu/bin
  export PATH=$PATH:$PS3DEV/spu/bin
  1. Run the toolchain script:
  ./toolchain.sh