Skip to content

ps3dev/ps3toolchain

Repository files navigation

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?

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

For Debian based distros:

  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

For RedHat distros:

  sudo dnf install bison flex gcc elfutils-libelf-devel make python path \
  wget zlib-devel libtool python3-devel bzip2 gmp-devel pkg-config gcc \
  openssl-devel texinfo ncurses-devel

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

Add the following variables to your bash config:

  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

Run the toolchain script:

  ./toolchain.sh

About

A script to autobuild an open source toolchain for the PS3.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published