04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Compiler Command-line Options<br />

• --preinclude=filename on page 2-105<br />

• --sys_include on page 2-121<br />

• Header files on page 2-14 in the Compiler User Guide<br />

• The current place on page 2-14 in the Compiler User Guide.<br />

2.1.97 -Lopt<br />

This option specifies command-line options to pass to the linker when a link step is<br />

being performed after compilation. Options can be passed when creating a<br />

partially-linked object or an executable image.<br />

Syntax<br />

-Lopt<br />

Where:<br />

opt<br />

is a command-line option to pass to the linker.<br />

Restrictions<br />

If an unsupported Linker option is passed to it using -L, an error is generated.<br />

Example<br />

armcc main.c -L--map<br />

See also<br />

• -Aopt on page 2-2<br />

• --show_cmdline on page 2-116.<br />

2.1.98 --library_interface=lib<br />

This option enables the generation of code that is compatible with the selected library<br />

type.<br />

Syntax<br />

--library_interface=lib<br />

Where lib is one of:<br />

rvct<br />

Specifies that the compiler output works with the RVCT runtime<br />

libraries.<br />

<strong>ARM</strong> DUI 0348C Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. 2-79<br />

ID101213<br />

Non-Confidential,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!