Installation on MacOS
Dependencies
The PSPDEV toolchain requires a couple of dependencies to be installed before use. Installing them can be done using brew.
Once brew is installed, run the following command from a terminal to install the dependencies:
brew install cmake pkgconf gnu-sed bash openssl libtool libmpc libarchive gettext texinfo bison flex isl gsl gmp mpfr
Toolchain
Installing the PSPDEV toolchain itself can be done with the following steps:
- Download the latest version of the toolchain for your system here:
- Extract the downloaded archive into your home directory, resulting in
/home/YOURUSERNAME/pspdev
being created. - To make the toolchain usable, some environment variables need to be set. The first step in doing so it to open the
~/.zprofile
file with thepico
text editor using the following command from a terminal:pico ~/.zprofile
- Add the following lines at the bottom of the file in the text editor:
export PSPDEV="$HOME/pspdev" export PATH="$PATH:$PSPDEV/bin"
- Now save and exit by pressing
Ctrl
+X
, thenY
and then enter/return. - Run the following command to remove the gatekeeper quarantine, allowing executables to be run:
xattr -rd com.apple.quarantine $HOME/pspdev
- Close the current terminal and open a new one.
- From the new terminal, run the following command to confirm everything is set up correctly:
psp-config --pspdev-path
That’s it, now the PSPDEV toolchain can be used to build PSP software. Check out the Basic Programs page to for examples on what you can do with it.