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:

  1. Download the latest version of the toolchain for your system here:
  2. Extract the downloaded archive into your home directory, resulting in /home/YOURUSERNAME/pspdev being created.
  3. 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 the pico text editor using the following command from a terminal:
     pico ~/.zprofile
    
  4. Add the following lines at the bottom of the file in the text editor:
     export PSPDEV="$HOME/pspdev"
     export PATH="$PATH:$PSPDEV/bin"
    
  5. Now save and exit by pressing Ctrl+X, then Y and then enter/return.
  6. Run the following command to remove the gatekeeper quarantine, allowing executables to be run:
     xattr -rd com.apple.quarantine $HOME/pspdev
    
  7. Close the current terminal and open a new one.
  8. 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.