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.
autoconf, automake, bison, flex, gcc, libelf, make, makeinfo, ncurses, patch, python, subversion, wget, zlib, libtool, python, bzip2, gmp, pkg-config, g++, libssl-dev, clang
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
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
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
./toolchain.sh