10.1. About configuring a build target

The Target Settings window controls settings that affect how the CodeWarrior IDE builds a specific build target within a project. The build settings that you specify in the Target Settings window apply to the currently selected build target only. This means that you must specify these settings for each build target in your project separately.

For example, if you are configuring a project based on the ARM® Executable Image project stationery and you want to change the PCS options for your project, you must configure the options for both the Release and Debug build targets. See Setting the current build target for more information on selecting build targets.

The Target Settings window is organized into a series of panels that apply to a specific group of build options (see Figure 10.2 for an example). The panels are divided into the following main groups:

Target

The panels in this group enable you to configure basic settings for the current build target, including the target name and the linker to use. The linker setting is particularly important because the CodeWarrior IDE uses the linker setting to determine which panels to display in the other groups.

Language Settings

The panels in this group apply specifically to the ARM toolchain. They enable you to set options for the RealView® Assembler and RealView Compiler, including PCS options, and debug and optimization options.

Note

Language settings are used to compile and assemble all source files within a single build target. You cannot specify individual settings for specific source files. You must use separate build targets to change the settings for one or more files.

Linker

The panels in this group enable you to configure the RealView armlink and fromelf tool when it is run as a post-linker.

Editor

This group contains one panel that enables you to configure custom keywords for the CodeWarrior IDE editor.

Debugger

The panels in this group enable you to select the debugger you want to use for debugging output, and for running executable images. These panels also enable you to configure options for the debugger you have selected.

Miscellaneous

This panel enables you to configure the disassembly features of the fromelf tool.

After you have configured the target, you can export the settings for each panel to XML. You can then import this settings file at any time.

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