http://www.psp-programming.com/forums/index.php?action=globalAnnouncements;id=1
提示:
-如果你是linux系统,直接看第5步。可能只需要安装一些库就行了,如果是基于debian的系统:
sudo apt-get install autoconf autogen automake1 . 9 libtool build-essential flex bison subversion libncurses5-dev libgmp3-dev libmpfr-dev libreadline5-dev texinfo libusb-dev
-如果你是windows系统,且用户中含有空格的话,可能安完cygwin后会遇到问题。遇到这种情况的时候,把文件夹"/cygwin/home/[your username]"重命名为新的名字。然后重启cygwin再处理第5步。
第一步:下载cygwin的安装文件
http://www.cygwin.com/setup.exe
第二步:运行 setup.exe
第三步:选择下载镜象
第四步:选择需要安装的包
1,默认(所有)
2,自定义(最小所需如下述,约50M)
autoconf
automake
binutils
bison
flex
gcc
gcc-core
gcc-g++
libusb
libtool
make
ncurses
patch
patchutils
readline
subversion
texinfo
wget
libgmp-devel
libgmp3
libmpfr-devel
libmpfr0
libmpfr1
第五步:
打开cygwin,输入下述
echo " export PSPDEV=/usr/local/pspdev " >> ~ /. bashrc
echo " export PATH=\$PATH:\$PSPDEV/bin " >> ~ /. bashrc
关掉 cygwin.
第六步:(有点漫长)
运行
svn co svn: // svn . ps2dev . org / psp / trunk / psptoolchain
再运行
cd ./ psptoolchain
./ toolchain . sh
This might take up to several hours. Take the time and do something useful with it.
At the end, an error message that ../scripts/003-psplinkusb.sh has failed may occur. Ignore that and
just type the following (if you want to use PSPLINK - see below):
最后可能会报错:"../scripts/003-psplinkusb.sh"
无视,然后运行
cd build / psplinkusb /
make && make release
第七步:
开始写代码