You copied the Doc URL to your clipboard.

ARM Compiler armlink User Guide : --library=name

--library=name

Enables the linker to search a static library without you having specifying the full library filename on the command-line.

Syntax

--library=name

Links with the static library, libname.a.

Usage

The order that references are resolved to libraries is the order that you specify the libraries on the command line.

Example

The following example shows how to search for libfoo.a before libbar.a:

--library=foo --library=bar

Related reference

Was this page helpful? Yes No