PSP Go

build psptoolchain


編譯步驟如下:

$ cd
$ wget https://github.com/steward-fu/pspgo/releases/download/v1.0/pspdev.tar.gz
$ tar xvf pspdev.tar.gz
$ cd pspdev/psptoolchain

$ sudo chmod 0777 /opt
$ export PSPDEV=/opt/pspdev
$ export PATH=$PATH:$PSPDEV/bin

$ vim prepare-debian-ubuntu.sh +4
  sudo apt-get install $@ g++ build-essential autoconf automake cmake doxygen bison flex libncurses5-dev libsdl1.2-dev libreadline-dev libusb-dev texinfo libgmp3-dev libmpfr-dev libelf-dev libmpc-dev libfreetype6-dev zlib1g-dev libtool subversion git tcl unzip

$ vim depends/check-dependencies.sh +84
  #check_program   automake-1.9

$ sh ./prepare-debian-ubuntu.sh
$ ./toolchain.sh

執行toolchain.sh後,該Shell Script會依序調用scripts資料夾裡的如下檔案:

001-binutils-2.22.sh  005-gcc-stage2.sh     009-psplinkusb.sh
002-gcc-stage1.sh     006-pspsdk-stage2.sh  010-ebootsigner.sh
003-pspsdk-stage1.sh  007-gdb-7.3.1.sh      011-psplibraries.sh
004-newlib-1.20.0.sh  008-insight-6.8.sh    012-profile.sh

可以單獨執行某個編譯步驟,如:./toolchain.sh 1

使用者如果不想動手編譯,可以使用司徒編譯好的Toolchain檔案,用法如下:

$ cd
$ wget https://github.com/steward-fu/pspgo/releases/download/v1.0/toolchain.tar.gz
$ tar xvf toolchain.tar.gz
$ sudo mv pspdev /opt
$ export PSPDEV=/opt/pspdev
$ export PATH=$PATH:$PSPDEV/bin


返回上一頁