ARM Compiler toolchain v4.1 for µVision Using the Compiler
ARM Compiler toolchain v4.1 for µVision Using the Compiler
ARM Compiler toolchain v4.1 for µVision Using the Compiler
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Contents<br />
<strong>ARM</strong> <strong>Compiler</strong> <strong>toolchain</strong> <strong>v4.1</strong> <strong>for</strong> µVision <strong>Using</strong> <strong>the</strong><br />
<strong>Compiler</strong><br />
Chapter 1<br />
Chapter 2<br />
Chapter 3<br />
Conventions and Feedback<br />
Overview of <strong>the</strong> compiler<br />
2.1 The compiler ............................................................................................................ 2-2<br />
2.2 Source language modes of <strong>the</strong> compiler ................................................................. 2-3<br />
2.3 The C and C++ libraries ........................................................................................... 2-4<br />
Getting started with <strong>the</strong> <strong>Compiler</strong><br />
3.1 <strong>Compiler</strong> command-line syntax ............................................................................... 3-3<br />
3.2 <strong>Compiler</strong> command-line options listed by group ...................................................... 3-4<br />
3.3 Default compiler behavior ........................................................................................ 3-8<br />
3.4 Order of compiler command-line options ............................................................... 3-10<br />
3.5 <strong>Using</strong> stdin to input source code to <strong>the</strong> compiler ................................................... 3-11<br />
3.6 Directing output to stdout ....................................................................................... 3-13<br />
3.7 Filename suffixes recognized by <strong>the</strong> compiler ....................................................... 3-14<br />
3.8 <strong>Compiler</strong> output files .............................................................................................. 3-16<br />
3.9 Factors influencing how <strong>the</strong> compiler searches <strong>for</strong> header files ............................ 3-17<br />
3.10 <strong>Compiler</strong> command-line options and search paths ................................................ 3-18<br />
3.11 <strong>Compiler</strong> search rules and <strong>the</strong> current place ......................................................... 3-19<br />
3.12 The <strong>ARM</strong>CCnnINC environment variable .............................................................. 3-20<br />
3.13 Code compatibility between separately compiled and assembled modules .......... 3-21<br />
3.14 Linker feedback during compilation ....................................................................... 3-22<br />
3.15 Unused function code ............................................................................................ 3-23<br />
3.16 Minimizing code size by eliminating unused functions during compilation ............ 3-24<br />
3.17 Minimizing code size by reducing compilation required <strong>for</strong> interworking ............... 3-25<br />
3.18 How to minimize compilation build time ................................................................. 3-26<br />
3.19 Minimizing compilation build time with a single armcc invocation ......................... 3-28<br />
<strong>ARM</strong> DUI 0375C Copyright © 2007-2008, 2011 <strong>ARM</strong>. All rights reserved. iii<br />
ID061811<br />
Non-Confidential