Installation on MacOS
Dependencies
The PSP SDK 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 libusb-compat zlib
PSP SDK
Installing the PSP SDK itself can be done with the following steps:
- Download the latest version of the SDK for your system here:
- Extract the downloaded archive into your home directory, resulting in
/home/YOURUSERNAME/pspdevbeing created. - To make the SDK usable, some environment variables need to be set. The first step in doing so it to open the
~/.zprofilefile with thepicotext 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, thenYand 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 PSP SDK can be used to build PSP software. Check out the How to Use page for a guide on how to do so.