This program will automatically build and install the whole compiler and other tools used in the creation of homebrew software for the Sony PlayStation PortableĀ® videogame system.
If you're trying to install in your machine the WHOLE PSP Development Environment this is NOT the repo to use, you should use instead the pspdev repo.
These scripts download (git clone
) and install:
- Install gcc/clang, make, cmake, patch, git, texinfo, flex, bison, gettext, wget, gsl, gmp, mpfr, mpc, readline, libarchive, gpgme, bash, openssl and libtool if you don't have those. We offer a script to help you for installing dependencies:
sudo ./prepare-debian-ubuntu.sh
sudo ./prepare-fedora.sh
sudo ./prepare-mac-os.sh
- Ensure that you have enough permissions for managing PSPDEV location (default to
/usr/local/pspdev
, but you can use a different path). PSPDEV location MUST NOT have spaces or special characters in its path! PSPDEV should be an absolute path. On Unix systems, if the commandmkdir -p $PSPDEV
fails for you, you can set access for the current user by running commands:
export PSPDEV=/usr/local/pspdev
sudo mkdir -p $PSPDEV
sudo chown -R $USER: $PSPDEV
- Add this to your login script (example:
~/.bash_profile
) Note: Ensure that you have full access to the PSPDEV path. You can change the PSPDEV path with the following requirements: only use absolute paths, don't use spaces, only use Latin characters.
export PSPDEV=/usr/local/pspdev
export PATH=$PATH:$PSPDEV/bin
- Run toolchain.sh
./toolchain.sh
Visit the following sites to learn more: