Getting Started

From devkitPro
Revision as of 16:34, 11 April 2012 by Wintermute (talk | contribs)
Jump to navigation Jump to search

For Windows users getting started with devkitPro toolchains is made easy by the convenient Windows Installer/Updater package. It is strongly recommended that windows users stick with this rather than attempting to set up the packages manually. The updater handles all the sticky little details of installation required for properly functioning toolchains. This is a web based installer so please ensure that you have a net connection, your Internet Explorer proxy settings are correct and that any firewall software you have installed allows the application to access the net.

For those of you who wish to install offline a "Download only" option is provided to download the packages without installing for later installation on another machine. This is best used by running the installer from a removable drive where it will store the downloaded packages. The "Download and install/install from downloaded files" option will pick up the packages from the directory the installer is running from.

For other platforms there are a few options available. Recently we've added some experimental perl scripts which parse the ini file used for the windows updater - these can be found in the Automated Installer files. These will work on both OSX and linux, selecting the correct 32/64 bit binaries on linux.

While the scripts should be the preferred method, you can also install the binaries manually or use the buildscripts to build and install the latest release versions.

Where possible you should stick to the binary distributions - building from source can be a path of frustration even for seasoned developers. The following pages cover installing each toolchain in detail.

Manual instructions for installing devkitARM

Manual instructions for installing devkitPPC

Manual instructions for installing devkitPSP

Where a binary is not provided then you should use the most recent stable release of the buildscripts. The buildscripts in the git repositories should be avoided since the buildscripts found there will often contain the next iteration of a given toolchain rather than the current stable release and may only be usable by our developers. Using these scripts is a simple matter of extracting the archive, running ./build-devkit.sh from a bash shell and following the prompts. The scripts will also build and install the current support libraries from the release tarballs. The readme supplied with the buildscripts details some dependencies which need to be in place before starting a build.