Getting Started/devkitARM: Difference between revisions

From devkitPro
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
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.


  mkdir /opt/devkitpro
  mkdir -p /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.
When we're done the layout for your devkitPro folder should end up like this, each folder links to the appropriate sourceforge package.
Line 22: Line 22:
The first package to install is the devkitARM tarball, obtained from the [http://sourceforge.net/project/showfiles.php?group_id=114505&package_id=124207 devkitARM] link shown above. Download the appropriate tarball for your host platform - the files are named as devkitARM_<revision>-<processor>-<os>.tar.bz2.
The first package to install is the devkitARM tarball, obtained from the [http://sourceforge.net/project/showfiles.php?group_id=114505&package_id=124207 devkitARM] link shown above. Download the appropriate tarball for your host platform - the files are named as devkitARM_<revision>-<processor>-<os>.tar.bz2.


For 32bit linux http://downloads.sourceforge.net/devkitpro/devkitARM_r23b-i686-linux.tar.bz2
Once the file is downloaded then you need to extract it into the devkitpro folder


For intel osx http://downloads.sourceforge.net/devkitpro/devkitARM_r23b-intel-osx.tar.bz2
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.

Revision as of 17:39, 22 June 2008

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

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 -p /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
   |
   +-- devkitARM
   +-- examples
   |     |
   |     +-- gba
   |     +-- gp32
   +-- libgba
   +-- libmirko
   +-- libnds

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 devkitARM tarball, obtained from the devkitARM link shown above. Download the appropriate tarball for your host platform - the files are named as devkitARM_<revision>-<processor>-<os>.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.