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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

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

aeabi_clib90<br />

aeabi_clib99<br />

aeabi_clib<br />

aeabi_glibc<br />

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

libraries.<br />

Specifies that the compiler output works with any ISO C90 library<br />

compliant with the <strong>ARM</strong> Embedded Application Binary Interface<br />

(AEABI).<br />

Specifies that the compiler output works with any ISO C99 library<br />

compliant with the <strong>ARM</strong> Embedded Application Binary Interface<br />

(AEABI).<br />

Specifies that the compiler output works with any ISO C library<br />

compliant with the <strong>ARM</strong> Embedded Application Binary Interface<br />

(AEABI).<br />

Selecting the option --library_interface=aeabi_clib is<br />

equivalent to specifying either --library_interface=aeabi_clib90<br />

or --library_interface=aeabi_clib99, depending on the choice of<br />

source language used.<br />

The choice of source language is dependent both on the<br />

command-line options selected and on the filename suffixes used.<br />

Specifies that the compiler output works with an<br />

AEABI-compliant version of the GNU C library.<br />

Default<br />

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

--library_interface=rvct.<br />

Usage<br />

• Use the option --library_interface=rvct to exploit the full range of compiler and<br />

library optimizations when linking.<br />

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

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!