2.1.1. Compiler variants

All ARM C and C++ compilers accept the same basic command-line options. Unless stated otherwise, the text in this chapter applies to all compiler types. Where a specific compiler has added features or restrictions, this is noted in the text. Where an option applies only to C++, this is also noted in the text.

There are four compiler variants as shown in Table 2.1.

Table 2.1. Compiler variants

Compiler nameCompiler variantSource languageCompiler output
armccCC32-bit ARM code
tccCC16-bit Thumb code
armcppC++C or C++32-bit ARM code
tcppC++C or C++16-bit Thumb code

Note

Throughout this chapter, the phrase the ARM compilers refers to armcc, armcpp, tcc, and tcpp.

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI 0067D
Non-Confidential