8.112 -Lopt

Specifies command-line options to pass to the linker when a link step is being performed after compilation.

Options can be passed when creating a partially-linked object or an executable image.

Syntax

-Lopt

Where:

opt

is a command-line option to pass to the linker.

Restrictions

If an unsupported linker option is passed to it using -L, an error is generated by the linker.

Example

armcc main.c -L--map
Related reference
8.1 -Aopt
8.168 --show_cmdline
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.