PS2DEV network    

  > HOME
  > ABOUT

  > FORUMS
  > VIEW SVN
  > WIKI

 PS2
  > TUTORIALS
  > LOADERS
  > TOOLS
  > SAMPLE CODE
  > DEMOS
  > PROJECTS

 PSP
  > TUTORIALS
  > TOOLS
  > DEMOS
  > PROJECTS

 PS3
  > LINKS
  > TUTORIALS
  > TOOLS
  > DEMOS
  > PROJECTS

   RSS


 USER ID (register)
 
 PASSWORD
 



Toolchain

"In software, a toolchain is the set of computer programs (tools) that are used to create a product (typically another computer program or system of programs). The tools may be used in a chain, so that the output of each tool becomes the input for the next, but the term is used widely to refer to any set of linked development tools." - wikipedia
Getting the most up-to-date toolchain
The most recent toolchain can be found in the ps2dev Subversion repository. To obtain it, install the subversion client and run
  svn checkout svn://svn.ps2dev.org/psp/trunk/psptoolchain
The readme.txt file describes the necessary steps to build and install the toolchain.

readme.txt

 ====================
  What does this do?
 ====================

  This program will automatically build and install a compiler and other
  tools used in the creation of homebrew software for the Sony Playstation
  Portable handheld videogame system.

 ==================
  How do I use it?
 ==================

 1) Set up your environment by installing the following software:

  autoconf, automake, bison, flex, gcc, libusb-dev, make, ncurses,
  patch, readline, subversion, texinfo, wget

 2) Add the following to your login script:

  export PSPDEV=/usr/local/pspdev
  export PATH=$PATH:$PSPDEV/bin

 3) Run the toolchain script:

  ./toolchain.sh

 ==========================
  Where do I go from here?
 ==========================

  Visit the following sites to learn more:

   http://www.ps2dev.org
   http://forums.ps2dev.org


Installing the toolchain on Ubuntu
Specific instructions for Ubuntu are found in the readme-ubuntu.txt file in the psptoolchain directory.

readme-ubuntu.txt


 ## Install the required packages.
 sudo apt-get install build-essential autoconf automake bison flex \
  libncurses5-dev libreadline-dev libusb-dev texinfo libgmp3-dev   \
  libmpfr-dev subversion gcc-4.2

 ## Set up the environment.
 gedit ~/.bashrc

  ## Add these lines to the end of the file.
  export PSPDEV="/usr/local/pspdev"
  export PSPSDK="$PSPDEV/psp/sdk"
  export PATH="$PATH:$PSPDEV/bin:$PSPSDK/bin"

 ## Load the environment changes.
 source ~/.bashrc

 ## Build and install the toolchain + sdk.
 sudo ./toolchain-sudo.sh


Libraries
The psplibraries script will build and install a variety of libraries for the PSP, including: zlib, bzip2, freetype, libjpeg, libbulletml, libmad, libmikmod, libogg, libpng, libpspvram, libTremor, libvorbis, lua, pspgl, pspirkeyb, sqlite, SDL, SDL_gfx, SDL_image, SDL_mixer, SDL_ttf, smpeg, zziplib

Installation is similar to the psptoolchain: first check out the repository using

  svn checkout svn://svn.ps2dev.org/psp/trunk/psplibraries
and then see the readme.txt or readme-ubuntu.txt file for more instructions.

 
Site Content Copyright 2001-2010 © Authors. Read Legal Statement for Information
LimeSite Software by Live Media