8.114 -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
Non-ConfidentialPDF file icon PDF versionARM DUI0472M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.