12.8.13. Adding library files

If you have library files that are not in the normal library search path defined by the Lib_path settings value and the ARMLIB environment variable, then you must include the location of those library files. The Libraries setting defines the location of library files.

To add library files to the build:

  1. Select Project → Project Properties... to display the Project Properties window.

  2. Select the *BUILD group in the List of Entries pane.

  3. To add a single library:

    1. Right-click on the Libraries setting in the Settings Values pane, and select Make New from the context menu.

    2. Use in-place editing to enter the pathname of your library files.

    3. Confirm the entry to see the new library file added to the list. For example, C:\Add_proj_2\Libraries\lib_proj_1.a, as shown in Figure 12.10.


    You can also select Edit as Filename to locate your library files.

  4. To add several library files:

    1. Right-click on the appropriate Libraries setting, in the Settings Values pane, and select Manage List... from the context menu. This displays the Settings: List Manager dialog box.

    2. Click Add for each new library file to be added, enter the path and filename for the library file, then click Add to add it to the list.

  5. Click OK to confirm the entries. The Settings: List Manager dialog box closes, and the library paths list in the Project Properties window is updated.

  6. Select File → Save and Close to regenerate the makefile(s) for the project, and close the Project Properties window.

  7. Select Tools → Build... to rebuild the application.

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