| |||
| Home > The C and C++ Libraries > Library naming conventions > 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:
Remove the explicit references to the old library names from the linker command-line.
Add --info libraries to the linker
command-line and rebuild the project. This produces a list of all
the libraries in use.
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.