User guide

8
6310A–ATARM–26-Mar-07
Application Note
The installer will ask for a target directory, which components to install as well as other minor
details. The installation directory can be located anywhere, however it should be noted as it will
be used for the rest of the configuration. It is possible to select either “Full” or “Compact” installa-
tion, as the required binaries are unpacked either way.
Now, the tools must be made available system-wide. Otherwise, it will not be possible to call
make when in a project directory, unless its complete path is specified (which can be tedious). In
order to do that, the directory where make.exe is must be added to the PATH environment
variable.
The PATH variable can be modified by doing the following:
Click on the start menu
In the “Settings” submenu, select “Control Panel”
Double-click on the “System” icon
Select the “Advanced” tab
Click on the “Environment Variables” button located at the bottom
Look for the PATH variable under the second section (“System variables”)
Select it and click on the “Edit” button
Append “;DIRECTORY\bin” to the variable value, where DIRECTORY is the directory where
the GnuWin32 make package has been installed
Click “Ok” three times to validate changes
To check that the configuration is now correct, do as described below:
Click on the Start menu
Select “Run...
Type “cmd” and click on the “Ok” button
A shell should appear, type:
make -v
This command tells make to print its version number, which should match the name of the
installer provided by the GnuWin32 project.
Figure 4-7. Shell with Working make Command
4.5 GDB Server
4.5.1 Getting GDB Server
GDB Server can be download from the SEGGER web site. It is part of the J-Link software pack-
age, which contains several other tools. The package can be downloaded from the following
address: http://www.segger.com/download_jlink.html.