10.3.7. Configuring the RealView target

The RealView Target configuration panel enables you to change the output name and output type for a project.

The default output filename is the same as the project name. For example, a project called test might produce the image file test.axf. You can use this panel to produce a different image file, for example, new.axf, without changing the name of the project. You might want to change the name of a project if the build target is to be a sub-target of another build target.

You can also change the output type, to enable you to use your output files with any non-ARM link tool that can process ELF object files.

To change the output settings for a project:

  1. Display the Target Settings configuration panel for the build target you want to configure (see Displaying Target Settings panels).

  2. Click RealView Target in the Target Settings Panels list to display the configuration panel (see Figure 10.12). The RealView Target configuration panel displays the current settings for the output name and output type.

    Figure 10.12. RealView Target configuration panel

    RealView Target configuration panel
  3. If you want to produce output files with a different name to the project file, uncheck the Use project name option and enter the required name in the Name text box. The Name text box is grayed out when the Use project name option is checked.

  4. Click the Output Type drop-down menu to select the output type:

    Linker Output

    Select this option if you are using the RealView Linker or Librarian. This is the default.

    The output produced depends on the Linker setting in the Target Settings configuration panel:

    • If the Linker is set to ARM RealView Linker, the output from this build target is either an executable image or a partially-linked object.

    • If the Linker is set to ARM RealView Librarian, the output from this build target is an ARM object library.

    See Using the Target Settings window for more information.

    Directory of objects

    Select this option if you do not want to use the linker output.

    When this option is set, only object files are produced. This is the usual setting if the build target is to be a sub-target of another build target. The sub-target generates the object files, and the parent build target links the object files to create an executable image as in, for example, the ARM sub-target of the Thumb ARM Interworking Image stationery (see Using the Thumb ARM interworking stationery.)

    This option also enables you to use your output files with any non-ARM link tool that can process ARM ELF object files.

  5. The following check box provides more information about the output produced:

    Echo ARM tool command-lines verbosely

    Select this option to display the build commands in the Errors & Warnings window.

    By default, build commands are not displayed in the Errors & Warnings window when you build a target. In this case, the window is displayed only if any errors or warning messages are issued, or if you have specified that remarks are to be displayed.

  6. Click Apply to apply your changes without closing the Target Settings window.

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