mkdir $HOME/tools
cd /media/cdrom/linux/tools
tar
arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-g
nu.tar.bz2 -C $HOME/tools
tar xvf arm-eabi-4.4.0.tar.bz2 -C $HOME/tools
Some of the other development tools used for source code compilation are
saved under the same directory; the user can execute the following
commands to copy them to local folder:
cp /media/cdrom/linux/tools/mkimage $HOME/tools
cp /media/cdrom/linux/tools/mkfs.ubifs $HOME/tools
cp /media/cdrom/linux/tools/ubinize $HOME/tools
cp /media/cdrom/linux/tools/ubinize.cfg $HOME/tools
5.4.3 Addition of environment variables
After all above tools are installed, it is necessary to use the following
commands to add them in the temporary environment variables:
export
PATH=$HOME/tools/arm-2009q1/bin:$HOME/tools/arm-eabi-
4.4.0/bin:$HOME/tools:$PATH
Note:
The instructions can be added in the .bashrc file located at the user directory, so
that the addition of environment variables will be loaded automatically when
the system is booting up; command echo $PATH can be used to check the path.
xvf
Page | 32