Installing PSPSDK

From PSP Developer wiki
Revision as of 19:35, 15 June 2023 by EmilDalalyan (talk | contribs) (Correction of the formatting.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

PSPSDK is a set of tools and libraries designed to let developers compile their own software for the PSP system.

The open source implementation of sdk is designed for UNIX-like systems, however it is possible to install on Windows operating systems.

Follow this guide to install PSPSDK toolchain on your computer.

Linux

psptoolchain.sh; minpspw.deb; content needed

Windows

MinPSPW

MinPSPW is a MinGW-like port of toolchain binaries for native Windows platform. It is recommended software for Windows platform.

  • Download installer. Link to MinPSPW project page: http://sourceforge.net/projects/minpspw/ (Version 0.10.0 is recommended because other versions, even newer ones seem to have dependancy errors, 0.10.0 is the most reliable version)
  • Run setup. Simply follow GUI guide, install to C:\pspsdk\, check all options
  • Set Environment Variables.
    • Go to Control Panel -> System -> Advanced system settings -> Advanced tab -> Environment Variables...
    • A window with two tables should pop up. In the first table select Path and then click Edit...
    • In variable value add: ;C:\pspsdk\bin. (Please note the semicolon ; at the beginning.)
Example variable value:
C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Java\jre7\bin;C:\pspsdk\bin
  • Save settings and log out
    • When you log in, open Command Prompt (cmd.exe), type: psp-gcc and press Enter.
Output should look like this:
C:\Users\You>psp-gcc
psp-gcc: no input files
  • If it does, your PSPSDK toolchain is ready to use!

Troubleshooting

If you get this message:

C:\Users\You>psp-gcc
'psp-gcc' is not recognized as an internal or external command,operable program or batch file.

then please verify that psp-gcc.exe resides in C:\pspsdk\bin folder along other programs. If it does, then verify Environmental variables.