Getting Started/devkitPSP: Difference between revisions

From devkitPro
Jump to navigation Jump to search
(New page: If your host platform is Windows then use the [http://sourceforge.net/project/showfiles.php?group_id=114505&package_id=160396 Windows Installer/Updater] package. Otherwise you may proceed ...)
 
No edit summary
Line 1: Line 1:
If your host platform is Windows then use the [http://sourceforge.net/project/showfiles.php?group_id=114505&package_id=160396 Windows Installer/Updater] package. Otherwise you may proceed with manual installation.
If your host platform is Windows then use the [http://sourceforge.net/projects/devkitpro/files/Automated%20Installer/ Windows Installer/Updater] package. Otherwise you may proceed with manual installation.
 
devkitPSP is a slightly different beast to the devkitARM and devkitPPC since it's mainly Oopo's patches pulled into the devkitPro toolchain build system and a build of the pspsdk. The original links for these appear to be broken now so sadly we can't link there.


The first thing that you need to do is create a folder for the devkitPro toolchains. Start by opening a terminal - on OSX use the apple key + space, then type terminal. This command creates the new folder.
The first thing that you need to do is create a folder for the devkitPro toolchains. Start by opening a terminal - on OSX use the apple key + space, then type terminal. This command creates the new folder.
Line 9: Line 11:
  devkitpro
  devkitpro
     |
     |
     +-- [http://sourceforge.net/project/showfiles.php?group_id=114505&package_id=157350 devkitPSP]
     +-- [http://sourceforge.net/projects/devkitpro/files/devkitPSP devkitPSP]
    +-- examples
          |
          +-- [http://sourceforge.net/project/showfiles.php?group_id=114505&package_id=302291 psp]


Nothing else should be placed inside these folders unless otherwise instructed by the devkitPro toolchain maintainers. On Windows several of these folders are removed and replaced by the update system.
Nothing else should be placed inside these folders unless otherwise instructed by the devkitPro toolchain maintainers. On Windows several of these folders are removed and replaced by the update system.


The first package to install is the devkitPSP tarball, obtained from the [http://sourceforge.net/project/showfiles.php?group_id=114505&package_id=157350 devkitPSP] link shown above. Download the appropriate tarball for your host platform - the files are named as devkitPSP_<revision>-<processor>-<os>.tar.bz2. For OSX we provide universal binaries - devkitPSP_<revision>-osx.tar.bz2.
The first package to install is the devkitPSP tarball, obtained from the [http://sourceforge.net/projects/devkitpro/files/devkitPSP devkitPSP]
link shown above. Download the appropriate tarball for your host platform - the files are named as devkitPSP_<revision>-<processor>-<os>.tar.bz2. For OSX we provide universal binaries - devkitPSP_<revision>-osx.tar.bz2.


Once the file is downloaded then you need to extract it into the devkitpro folder
Once the file is downloaded then you need to extract it into the devkitpro folder
Line 24: Line 24:


Obviously replace <file you downloaded> with the name of the file obtained from sourceforge. On OSX you can simply drag & drop the downloaded file into the terminal window to get the file path.
Obviously replace <file you downloaded> with the name of the file obtained from sourceforge. On OSX you can simply drag & drop the downloaded file into the terminal window to get the file path.
Now you need to obtain the support libraries.


Add these variables in your execution environment, for instance, editing the .bashrc file located in your home folder:
Add these variables in your execution environment, for instance, editing the .bashrc file located in your home folder:

Revision as of 14:28, 25 July 2011

If your host platform is Windows then use the Windows Installer/Updater package. Otherwise you may proceed with manual installation.

devkitPSP is a slightly different beast to the devkitARM and devkitPPC since it's mainly Oopo's patches pulled into the devkitPro toolchain build system and a build of the pspsdk. The original links for these appear to be broken now so sadly we can't link there.

The first thing that you need to do is create a folder for the devkitPro toolchains. Start by opening a terminal - on OSX use the apple key + space, then type terminal. This command creates the new folder.

mkdir /opt/devkitpro

When we're done the layout for your devkitPro folder should end up like this, each folder links to the appropriate sourceforge package.

devkitpro
   |
   +-- devkitPSP

Nothing else should be placed inside these folders unless otherwise instructed by the devkitPro toolchain maintainers. On Windows several of these folders are removed and replaced by the update system.

The first package to install is the devkitPSP tarball, obtained from the devkitPSP

link shown above. Download the appropriate tarball for your host platform - the files are named as devkitPSP_<revision>-<processor>-<os>.tar.bz2. For OSX we provide universal binaries - devkitPSP_<revision>-osx.tar.bz2.

Once the file is downloaded then you need to extract it into the devkitpro folder

cd /opt/devkitpro
tar -xvjf <file you downloaded>

Obviously replace <file you downloaded> with the name of the file obtained from sourceforge. On OSX you can simply drag & drop the downloaded file into the terminal window to get the file path.

Add these variables in your execution environment, for instance, editing the .bashrc file located in your home folder:

export DEVKITPRO=/opt/devkitPro
export DEVKITPSP=$DEVKITPRO/devkitPSP