You copied the Doc URL to your clipboard.

-L

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

Syntax

-L dir[,dir,...]

Where:

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.

Note

The -L option has no effect when used with the -c option, that is when not linking.
Was this page helpful? Yes No