• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-armeabi-2013.11/share/doc/arm-arm-none-eabi/html/getting-started/
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>3.2.�Library Configurations</title><link rel="stylesheet" type="text/css" href="cs.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.0"><link rel="home" href="index.html" title="Sourcery CodeBench Lite"><link rel="up" href="chap-target.html" title="Chapter�3.�Sourcery CodeBench Lite for ARM EABI"><link rel="prev" href="chap-target.html" title="Chapter�3.�Sourcery CodeBench Lite for ARM EABI"><link rel="next" href="sec-using-flash.html" title="3.3.�Using Flash Memory"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">3.2.�Library Configurations</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="chap-target.html">Prev</a>�</td><th width="60%" align="center">Chapter�3.�Sourcery CodeBench Lite for ARM EABI</th><td width="20%" align="right">�<a accesskey="n" href="sec-using-flash.html">Next</a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sec-multilibs"></a>3.2.�Library Configurations</h2></div></div></div><p>
2    Sourcery CodeBench Lite for ARM EABI includes the following library
3    configuration.
4  </p><div class="informaltable"><table border="1" width="100%"><colgroup><col align="left" class="c1"><col align="left" class="c2"></colgroup><thead><tr><th colspan="2" align="left">ARMv4 - Little-Endian, Soft-Float</th></tr></thead><tbody><tr><td align="left">Command-line option(s):</td><td align="left">default</td></tr><tr><td align="left">Library subdirectory:</td><td align="left"><code class="filename">./</code></td></tr></tbody></table></div><div class="informaltable"><table border="1" width="100%"><colgroup><col align="left" class="c1"><col align="left" class="c2"></colgroup><thead><tr><th colspan="2" align="left">ARMv4 Thumb - Little-Endian, Soft-Float</th></tr></thead><tbody><tr><td align="left">Command-line option(s):</td><td align="left"><code class="option">-mthumb</code></td></tr><tr><td align="left">Library subdirectory:</td><td align="left"><code class="filename">thumb/</code></td></tr></tbody></table></div><div class="informaltable"><table border="1" width="100%"><colgroup><col align="left" class="c1"><col align="left" class="c2"></colgroup><thead><tr><th colspan="2" align="left">ARMv7 Thumb-2 - Little-Endian, Soft-Float</th></tr></thead><tbody><tr><td align="left">Command-line option(s):</td><td align="left"><code class="option">-mthumb -march=armv7 -mfix-cortex-m3-ldrd</code></td></tr><tr><td align="left">Library subdirectory:</td><td align="left"><code class="filename">thumb2/</code></td></tr></tbody></table></div><div class="informaltable"><table border="1" width="100%"><colgroup><col align="left" class="c1"><col align="left" class="c2"></colgroup><thead><tr><th colspan="2" align="left">ARMv6-M Thumb - Little-Endian, Soft-Float</th></tr></thead><tbody><tr><td align="left">Command-line option(s):</td><td align="left"><code class="option">-mthumb -march=armv6-m</code></td></tr><tr><td align="left">Library subdirectory:</td><td align="left"><code class="filename">armv6-m/</code></td></tr></tbody></table></div><p>
5    Sourcery CodeBench includes copies of run-time libraries that have been built
6    with optimizations for different target architecture variants or other
7    sets of build options.  Each such set of libraries is referred to as a
8    <em class="firstterm">multilib</em>.  When you link a target application,
9    Sourcery CodeBench selects the multilib matching the build
10    options you have selected.  
11  </p><p>
12    Sourcery CodeBench Lite's library support includes linker scripts that pull in
13    appropriate CS3 startup code, as well as the libraries themselves.
14    You can find these linker scripts in
15    <span class="phrase">
16      multilib-specific subdirectories of
17    </span>
18    the <code class="filename">arm-none-eabi/lib</code> directory of your Sourcery CodeBench
19    install.
20  </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="chap-target.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="chap-target.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="sec-using-flash.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter�3.�Sourcery CodeBench Lite for ARM EABI�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�3.3.�Using Flash Memory</td></tr></table></div></body></html>
21