100% developed

PSP Development/Getting the Tools/Mac

From Wikibooks, open books for an open world
Jump to navigation Jump to search

MacOSX uses a package called devkitPSP, which is GNU GCC based. This package houses everything needed for development on the PSP. It is a toolchain. The package includes libraries, headers, and tools for the PSP - some external libraries developed for the PSP are included.


Installing[edit | edit source]

This is a modified copy of the tutorial found here.

devkitPSP is mainly Oopo's patches pulled into the devkitPro toolchain build system and a build of the pspsdk.

The first thing that you need to do is create a folder for the devkitPro toolchains. Start by opening a terminal and creating the build directory.

mkdir /opt/devkitPro
mkdir /opt/devkitPro/devkitPSP

The first package to install is the devkitPSP tarball found here.

Once the file is downloaded then you need to extract it into the devkitPro folder.

cd /opt/devkitpro
tar -xvjf devkitPSP_r16-1-x86_64-linux.tar.bz2 # x64 bit
# tar -xvjf devkitPSP_r16-1-i686-linux.tar.bz2 # x32 bit

Add these variables in your execution environment, for instance, editing the .bashrc file located in your home folder:

export DEVKITPRO=/opt/devkitPro
export DEVKITPSP=$DEVKITPRO/devkitPSP