--libpath=pathlist linker option
Specifies a list of paths that the linker uses to search for the ARM standard C and C++ libraries.
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 .
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.
This option does not affect searches for user libraries. Use --userlibpath instead for user libraries.