beautypg.com

ThingMagic Mercury xPRESS Platform v1.7 User Manual

Page 78

background image

A D I V I S I O N O F T R I M B L E

78

Installing Developer Tools on LINUX OS

3. Open the tar-ball with the Archive Manager and use this application to extract the file,

or skip this step and use the terminal shell.



For 64 bit system, 32 bit libc and libncurses are required to run the tools.



For Ubuntu 10.04/12.04 user, the toolchain can also be installed via Launchpad

PPA at

https://launchpad.net/~terry.guo/+archive/gcc-arm-embedded

.

4. Alternatively, using the terminal shell:

Open a terminal shell.

Pick an installation directory; e.g., $HOME/usr and unpack there.

mkdir -p $HOME/usr/xPRESS
tar -xvf gcc-arm-none-eabi-4_7-2013q3-20130916-linux.tar.bz2 -C

$HOME/usr/xPRESS

5. Add toolchain to your path. Edit $HOME/.profile and add the following line:

PATH="$PATH:$HOME/usr/xPRESS/gcc-arm-none-eabi-4_7-

2013q3/bin"

To test the path change, type

arm-none-eabi-gcc c

If the path is correct, you’ll see

arm-none-eabi-gcc: fatal error: no input files
compilation terminated.

If the path is wrong, you’ll see

arm-none-eabi-gcc2: command not found