Docker images with the pspdev toolchain prebuilt.
Change to the directory containing the PSP source code you'd like to build and use this command to build it:
docker run --rm -v "$PWD:/build" ghcr.io/bmaupin/pspdev make
TempGBA4PSP requires an older version of gcc. You can use this command instead:
docker run --rm -v "$PWD:/build" ghcr.io/bmaupin/pspdev:gcc-4.6.4 make
To build these images locally:
docker build -f gcc-4.6.4/Dockerfile -t pspdev:gcc-4.6.4 .
docker build -f latest/Dockerfile -t pspdev:latest .
gcc_version=$(docker run -it --rm pspdev:latest gcc --version | head -n 1 | cut -d " " -f 4 | tr -d '\r\n')
docker tag pspdev:latest pspdev:gcc-${gcc_version}