10.6. Configuring linker settings

This section describes how to configure the RealView Linker from within the CodeWarrior IDE. The linker settings you can configure depend on which linker is selected in the Target Settings window. If you want to process your output with more than one linker or post-linker you can use dependent sub-projects or sub-targets to select additional linkers or post-linkers. See Working with multiple build targets and sub-projects for more information.

You can use the following linker and post-linker options with the ARM toolchain:

RealView Librarian

There is no configuration panel for the ARM RealView Librarian (armar). You can use the Librarian to combine ELF object files into a library (see Creating a project that builds an object library and ROM images for more information).

For more information on armar, see the description of creating and using libraries in the RealView Compilation Tools Linker and Utilities Guide.

RealView Linker

Use the panel to configure the RealView Linker. See Configuring the RealView Linker for details.

RealView FromELF

The RealView FromElf panel is added to the Linker group when you:

  1. Select RealView Target in the Target Settings Panels list.

  2. Set Linker to ARM RealView Linker.

  3. Set Post-linker to ARM RealView FromELF.

Use this to configure the fromelf utility as a post-linker to process output from the linker. The fromelf utility can perform a number of format conversions on linker output, such as converting an ELF image file to plain binary format suitable for embedding in ROM. See Configuring RealView fromelf for details.

The Batch File Runner

There is no configuration panel required for the Batch File Runner. See Running batch files with the Batch File Runner for more information. The Batch File Runner is deprecated in this release.

Note

The settings you define in these panels apply to the currently selected build target only. You must configure each build target in your project separately.

Copyright © 1999-2001, 2005-2007 ARM Limited. All rights reserved.ARM DUI 0065G
Non-Confidential