The PSPDEV toolchain is based on GCC 4.0.1, Binutils 2.16, and Newlib 1.13.0. A script to build it can be downloaded from ooPo’s consoledev website.
However, it requires a reasonably unix-like environment to run. Under windows, Cygwin can be used to provide this functionality.
It is possible to setup the PSPDEV toolchain in Cygwin, however you must make sure that the following packages are installed:
to make it easier to find these packages click the view button in the cygwin installer once
Please note that selecting the above packages will cause other packages to be selected as well, do not deselect them as they are dependancies of the above. Also, do not remove the packages that cugwin auto selects for you unless you really know what you’re doing; most of the time you’ll end up excluding something critical.
It is recomended that you also install:
You should make sure that CR LF translation (aka DOS mode) is not active when setting up cygwin, otherwise the build shall fail with unhelpfull assorted error message.
If you believe you’ve found a bug in the PSPDEV toolchain, you can report it to the PSP Development Forums found at http://forums.ps2dev.org/. Please include a minimal testcase that can be used to reproduce the bug. You should also include all of the output given by executing the command: psp-gcc -v.
The PSPDEV toolchain is not part of the official GNU toolchain (yet). Do not send bug reports to the official developers of GCC or binutils.