|Non-Confidential||PDF version||ARM DUI0529M|
|Home > Overview of ARM Compiler > GCC compatibility provided by ARM Compiler|
ARM® Compiler provides gcc compatibility to aid development with source bases that were originally configured to be built with the GNU toolchains.
Can build the vast majority of C and C++ code that is written to be built with gcc.
Is not 100% source compatible in all cases.
Does not aim to be bug-compatible.
ARM Compiler might emulate specific defects present in gcc where the defective behavior is relied on in significant cases.
The level of gcc comparability, and gcc bug compatibility, might vary over time as updates to the compiler are made.
--gnu enables the GNU compiler extensions
that the ARM compiler supports.
--gnu_version attempts to make the
compiler compatible with the specified version of GCC.