Game Development Reference
In-Depth Information
$ cd $HOME/Desktop
$ tar zxvf arm-2008q3-72-arm-none-linux-gnueabi.tar.gz
Either way you choose to install the toolchain, you must add the
bin
folder to your system path so
the toolchain can be invoked from the console. Add the following text to your
$HOME/.bashrc
file:
ARM_HOME=$HOME/Desktop/arm-2008q3
export PATH=$PATH:$ARM_HOME/bin
Figure 1-2.
Sourcery G++ Lite installer
Now you should have the toolchain ready for use. Perform a quick test by typing the following:
user@ubuntu:~$ arm-none-linux-gnueabi-gcc --version
arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2008q3-72) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.