1.6 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.

ARM Compiler:

  • 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.

Compiler extensions

--gnu enables the GNU compiler extensions that the ARM compiler supports.

Using a specific version of GCC

--gnu_version attempts to make the compiler compatible with the specified version of GCC.

Non-ConfidentialPDF file icon PDF versionARM DUI0529M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.