You copied the Doc URL to your clipboard.


This option specifies a list of paths that the linker uses to search for the ARM standard C and C++ libraries.

You can also use the ARMCCnLIB environment variable to specify the path for the parent directory containing the ARM libraries, where n is the version of the compilation tools installed. For example, ARMCC5LIB. Any paths specified with --libpath override the path specified by the environment variable.



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.


This option does not affect searches for user libraries. Use --userlibpath instead for user libraries.

See also