| |||
| Home > The ARM Compilers > About the ARM compilers > Compiler variants | |||
All ARM C and C++ compilers accept the same basic command-line options. The descriptions in this chapter apply to all compilers. Where specific compilers have added features or restrictions they are noted in the text. Where an option applies only to C++ this is also noted in the text.
There are two variants of the C compiler:
compiles C source into 32-bit ARM code
compiles C source into 16-bit Thumb code.
Throughout this chapter, armcc and tcc are referred to together as the ARM C compilers.
There are two variants of the C++ compiler:
compiles C or C++ source into 32-bit ARM code
compiles C or C++ source into 16-bit Thumb code.
Throughout this chapter, armcpp and tcpp are referred to together as the ARM C++ compilers.