ThingMagic Mercury xPRESS Platform v1.7 User Manual

Page 80

Advertising
background image

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

80

Installing Developer Tools on LINUX OS

1. Go to:

http://www.eclipse.org/cdt/

Select the appropriate version for your Linux system (32-bit or 64-bit)

(currently “luna”))

Download the appropriate version. For example, eclipse-cpp-luna-R-linux-gtk-
x86_64.tar.gz.

2. Install Eclipse core

Open a terminal shell.

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

Archive Manager from the graphical interface).

mkdir -p $HOME/usr
tar -xvf eclipse-cpp-kepler-SR1-linux-gtk.tar.gz -C $HOME/usr/

xPRESS

Optionally, add to your path. Edit $HOME/.profile and add the following

line:

PATH="$PATH:$HOME/usr/xPRESS/eclipse"

If you changed your path, test the changes

as described above

, except

use eclipse instead of arm-none-eabi-gcc.

If you get “command not found”, your path isn’t correct.
If you get the Eclipse splash screen and Select a workspace prompt,

your path is correct.

If you did not change your path, you will have to use the fully-qualified

path every time you start Eclipse.

$HOME/usr/xPRESS/eclipse

3. Start Eclipse

Navigate to the directory you just extracted. Go into the eclipse subdirectory and
launch the eclipse application executable program.

4. Select a workspace

The Eclipse workspace is a set of projects and settings contained within a directory.
Each user needs at least one workspace, some use multiple workspaces to organize
different development activities. Unless you have a reason to do otherwise, accept
the default $HOME/workspace that Eclipse proposes on startup.

Advertising