Linux 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.
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 -p /opt/devkitPro/devkitPSP
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