Compiler Reference Guide

About the ARM compiler

About the ARM compiler

The compiler, armcc, enables you to compile your C and C++ code.

The compiler:

  • Is an optimizing compiler. Command-line options enable you to control the level of optimization.

  • Compiles:

    • ISO Standard C:1990 source

    • ISO Standard C:1999 source

    • ISO Standard C++:2003 source

    into:

    • 32-bit ARM code

    • 16/32-bit Thumb-2 code

    • 16-bit Thumb code.

  • Complies with the Base Standard Application Binary Interface for the ARM Architecture (BSABI). In particular, the compiler:

    • Generates output objects in ELF format.

    • Generates DWARF Debugging Standard Version 3 (DWARF 3) debug information and contains support for DWARF 2 debug tables.

    See Compliance with the Application Binary Interface (ABI) for the ARM architecture in Using ARM® C and C++ Libraries and Floating-Point Support for more information.

  • Can generate an assembly language listing of the output code, and can interleave an assembly language listing with source code.

Copyright © 2007-2008, 2011 ARM. All rights reserved.ARM DUI 0376C
Non-ConfidentialID061811