2.16.1. Placing ARM libraries

Normally, you do not have to list any of these libraries explicitly on the linker command line. The ARM linker automatically selects the correct C or C++ libraries to use, and it might use several, based on the accumulation of the object attributes.

If library names are explicitly named in a makefile, you must rebuild your project as follows:

  1. Remove the explicit references to the old library names from the linker command-line.

  2. Add --info libraries to the linker command-line and rebuild the project. This produces a list of all the libraries in use.

  3. Add the new list of libraries to the linker command-line.

To include a specific library in a scatter-loading description file, see Placing ARM C library code in the Linker User Guide.

Copyright © 2007-2010 ARM. All rights reserved.ARM DUI 0349C
Non-ConfidentialID101213