7.93 -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
7.1 -Aopt
7.151 --show_cmdline
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.