06.02.2013 Views

ARM Compiler toolchain Using the Linker - ARM Information Center

ARM Compiler toolchain Using the Linker - ARM Information Center

ARM Compiler toolchain Using the Linker - ARM Information Center

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.

3. At <strong>the</strong> location specified in <strong>ARM</strong>CCnnLIB.<br />

4. At <strong>the</strong> location specified in <strong>ARM</strong>LIB.<br />

4.24.4 How <strong>the</strong> linker selects <strong>ARM</strong> library variants<br />

4.24.5 See also<br />

Image structure and generation<br />

The <strong>ARM</strong> <strong>Compiler</strong> <strong>toolchain</strong> includes a number of variants of each of <strong>the</strong> libraries, that are<br />

built using different build options. For example, architecture versions, endianness, and<br />

instruction set. The variant of <strong>the</strong> <strong>ARM</strong> library is coded into <strong>the</strong> library name. The linker must<br />

select <strong>the</strong> best-suited variant from each of <strong>the</strong> directories identified during <strong>the</strong> library search.<br />

The linker accumulates <strong>the</strong> attributes of each input object and <strong>the</strong>n selects <strong>the</strong> library variant best<br />

suited to those attributes. If more than one of <strong>the</strong> selected libraries are equally suited, <strong>the</strong> linker<br />

retains <strong>the</strong> first library selected and rejects all o<strong>the</strong>rs.<br />

Concepts<br />

• How <strong>the</strong> linker performs library searching, selection, and scanning on page 4-35.<br />

Reference<br />

<strong>Linker</strong> Reference:<br />

• --libpath=pathlist on page 2-96.<br />

<strong>Using</strong> <strong>ARM</strong> ® C and C++ Libraries and Floating-Point Support:<br />

• C and C++ library naming conventions on page 2-120.<br />

<strong>ARM</strong> ® C and C++ Libraries and Floating-Point Support Reference:<br />

• Chapter 2 The C and C++ libraries.<br />

Introducing <strong>the</strong> <strong>ARM</strong> <strong>Compiler</strong> <strong>toolchain</strong>:<br />

• Toolchain environment variables on page 2-14.<br />

<strong>ARM</strong> DUI 0474C Copyright © 2010-2011 <strong>ARM</strong>. All rights reserved. 4-37<br />

ID080411 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!