2.1.70. -Lopt

This option 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.

Example

armcc main.c -L--map

See also

Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A
Non-Confidential