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 />

Example<br />

When your code calls functions provided by an embedded operating system that replace<br />

functions provided by the RVCT C library, compile your code with<br />

--library_interface=aeabi_clib to disable calls to any special RVCT variants of the<br />

library functions replaced by the operating system.<br />

See also<br />

• ABI for the <strong>ARM</strong> Architecture compliance on page 1-4 in the Libraries and<br />

Floating Point Support Guide.<br />

2.1.99 --library_type=lib<br />

This option enables the selected library to be used at link time.<br />

Note<br />

Use this option with the linker to override all other --library_type options.<br />

Syntax<br />

--library_type=lib<br />

Where lib is one of:<br />

standardlib<br />

microlib<br />

Specifies that the full RVCT runtime libraries are selected at link time.<br />

Use this option to exploit the full range of compiler optimizations when<br />

linking.<br />

Specifies that the C micro-library (microlib) is selected at link time.<br />

Default<br />

If you do not specify --library_type, the compiler assumes<br />

--library_type=standardlib.<br />

See also<br />

• Building an application with microlib on page 3-4 in the Libraries and Floating<br />

Point Support Guide<br />

• --library_type=lib on page 2-55 in the Linker Reference Guide.<br />

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

ID101213<br />

Non-Confidential,

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

Saved successfully!

Ooh no, something went wrong!