ARM Technical Support Knowledge Articles


Applies to: uVision IDE


Information in this article applies to:


How do I use linker response files with the uVision IDE?


The linker command (or response) file contains only linker directives. The .OBJ files and .LIB files that are to be linked are not listed in the command file. These are obtained by uVision automatically from your project file.

The best way to start using a linker command file is to have uVision create one for you automatically and then begin making the necessary changes.

To generate a Command File from uVision...

  1. Go to the Project menu and select the Options for Target item.
  2. Click on the L166 Misc or L51 Misc tab to open the miscellaneous linker options.
  3. Check the use linker control file checkbox.
  4. Click on the Create... button. This creates a linker control file.
  5. Click on the Edit... button. This opens the linker control file for editing.
  6. Edit the command file to include the directives you need.

When you create a linker command file, the file created includes the directives you currently have selected. For example, the following command file lists the directives necessary for the MEASURE example:

TO "Measure"
CLASSES (ICODE (0x0-0x7FFF), NCODE (0x0-0x7FFF),
FCONST (0x0-0x7FFF), HCONST (0x0-0x7FFF),
XCONST (0x0-0x7FFF), NCONST (0x4000-0x7FFF),
NDATA (0x8000-0xBFFF), NDATA0 (0x8000-0xBFFF),
SDATA (0xC000-0xEFFF, 0xF600-0xFDFF), SDATA0 (0xC000-0xEFFF, 0xF600-0xFDFF),
IDATA (0xF600-0xFDFF), IDATA0 (0xF600-0xFDFF),
FDATA (0x8000-0xEFFF), FDATA0 (0x8000-0xEFFF),
HDATA (0x8000-0xEFFF), HDATA0 (0x8000-0xEFFF),
XDATA (0x8000-0xEFFF), XDATA0 (0x8000-0xEFFF))

Note that the files included in the link are not listed. These are obtained from the list of files included in the project.

Article last edited on: 2004-10-11 09:43:29

Rate this article

Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential