PSP Development Using Cygwin

First, let me explain how this goes. PSP Games are made using special libraries from Sony PSP and that development kit is called PSP Toolchain. To get the Toolchain, you must pay expensive licensing fee to Sony and you can start using it to make your own PSP Games. However, advanced Internet hackers started making their own open source PSP Toolchain and it is mainly used in the Linux environment.

I am a Windows user, so here are the steps I had to go through:

1. Install cygwin to emulate a Unix environment on Windows. But when you install and it asks you to choose the components, make sure these are selected:
autoconf2.59 (or greater)
automake1.9
bash
bison
coreutils
diff
diffutils
flex
gcc
gcc-core
gcc-g++
grep
gzip
make
patch
patchutils
subversion
tar
wget

2. Then try to get the PSP Toolchain from PS2Dev.org PSP Toolchain Download

3. Extract the folder to your cygwin home/user directory, so you have for example d:\\cygwin\\home\\user\\psptoolchain
Note that maybe on your computer, "user" maybe another name, like your computer''s username. Who knows

4. Then run cygwin and type:
echo ''export PSPDEV=/usr/local/pspdev'' >> .bashrc
echo ''export PATH=$PATH:$PSPDEV/bin'' >> .bashrc

5. And then edit your cygwin.bat file (rightclick and edit) to make sure it looks like this:

__________
@echo off

x:
chdir x:\\cygwin\\bin
set path=%path%;x:/cygwin/usr/local/pspdev/bin
set PSPDEV=/usr/local/pspdev
bash --login -i
---------

Note: replace x with your drive letter. And your cygwin maybe in another folder, like x:\\program files\\cygwin\\

6. Alright, then close cygwin, reopen it, and type:
./psptoolchain/toolchain.sh
PSP Toolchain will start installing!

From here, everything should be ok and you can follow the instructions from PSP Programming to start your programming.

Please be reminded that I am also a PSP programming noob and I went through hell to get the above solved. So I hope others do not experience the same crap that I did. Thus, the existence of this page.

Update: OK, after doing the steps above, the psp toolchain seemed to install successfully. But it did not. Lots of errors popped up when I was compiling my psp program so I had to find other ways, and that led to the precompiled cygwin with psptoolchain...

Share this with your friends:

PSP Development Using Cygwin Comments

From the Josh Tam Universe