12.6.3. Building files and images

For a project, you can build an executable image or a single object file. If you have a Library project, you can build the library file or an individual object file.

Note

If you do not have a project open, you can still use the build options on the Tools menu.

Building an object file

To build an object file:

  1. Open a source file so that it is displayed in the File Editor pane. This can be a C, C++, or assembly language file.

  2. Select Tools → Build This File to display the Build dialog box shown in Figure 12.5.

    Figure 12.5. Building an object file

    Building an object file

    Entries might be preloaded into fields in the dialog box when it first opens. In this example, the file is associated with a user-defined project.

  3. Enter the build details (see Using the Build dialog box).

  4. Click Build to build the object file.

    Alternatively, click Cancel to close the dialog box without starting the build.

  5. After the object file is built, you can include it into an executable file for later loading to your debug target processor.

Building an executable image or library file

To build an image:

  1. Make sure that there is no open project and no files in the File Editor pane.

  2. Select Tools → Build... to display the Build dialog box shown in Figure 12.6.

    Figure 12.6. Building an image

    Building an image

    Entries might be preloaded into fields in the dialog box when it first opens.

  3. Enter the build details (see Using the Build dialog box).

  4. Click either Build or Build+Load (see Using the Build dialog box).

    Alternatively, click Cancel to close the dialog box without starting the build.

Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0234B
Non-Confidential