1.35 -L

Specifies a list of paths that the linker searches for user libraries.


-L dir[,dir,...]



is a comma-separated list of directories to be searched for user libraries.

At least one directory must be specified.

When specifying multiple directories, do not include spaces between commas and directory names in the list.

armclang translates this option to --userlibpath and passes it to armlink.

See the Arm® Compiler armlink User Guide for information about the --userlibpath linker option.


The -L option has no effect when used with the -c option, that is when not linking.
Non-ConfidentialPDF file icon PDF versionDUI0774J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.