29.12.2014 Views

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>Compiler</strong> Command-line Options<br />

• Use an option of the form --library_interface=aeabi_* when linking with an<br />

ABI-compliant C library. Options of the form --library_interface=aeabi_*<br />

ensure that the compiler does not generate calls to any optimized functions<br />

provided by the RVCT C library.<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-3 in the Libraries <strong>Guide</strong>.<br />

2.1.72 --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 <strong>Guide</strong><br />

2-54 Copyright © 2007, 2010 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DUI 0348A<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!