9.67 --libpath=pathlist

Specifies a list of paths that the linker uses to search for the ARM® standard C and C++ libraries.

Syntax

--libpath=pathlist
Where pathlist is a comma-separated list of paths that the linker only uses to search for required ARM libraries. Do not include spaces between the comma and the path name when specifying multiple path names, for example, path1,path2,path3,…,pathn.

Usage

You can also use the ARMCC5LIB environment variable to specify the path for the parent directory containing the ARM libraries. Any paths specified with --libpath override the path specified by the environment variable.

Note

This option does not affect searches for user libraries. Use --userlibpath instead for user libraries.
Related concepts
3.9 How the linker performs library searching, selection, and scanning
Related reference
9.128 --userlibpath=pathlist
Related information
Toolchain environment variables
Non-ConfidentialPDF file icon PDF versionARM DUI0377G
Copyright © 2007, 2008, 2011, 2012, 2014, 2015 ARM. All rights reserved.