8.94 --gnu_defaults

Alters the default settings of certain other options to match the default behavior found in GCC. Platform-specific settings, such as those targeting ARM Linux, are unaffected.


--gnu_defaults does not imply specific targeting of ARM Linux.

When you use --gnu_defaults, the following options are enabled:

  • --allow_null_this.

  • --gnu.

  • --no_debug_macros.

  • --no_hide_all.

  • --no_implicit_include.

  • --signed_bitfields.

  • --wchar32.

--gnu does not set these defaults. It only enables the GNU compiler extensions.


When you use --arm_linux and other ARM Linux-targeting options, --gnu_defaults is automatically implied.

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