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

Usage

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

Default

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

Related reference
8.9 --arm_linux_config_file=path
8.10 --arm_linux_configure
8.11 --arm_linux_paths
8.29 --configure_cpp_headers=path
8.179 --translate_gcc
8.180 --translate_gld
8.30 --configure_extra_includes=paths
8.31 --configure_extra_libraries=paths
8.33 --configure_gcc=path
8.34 --configure_gcc_version=version
8.35 --configure_gld=path
8.178 --translate_g++
8.167 --shared
8.75 --execstack, --no_execstack
8.36 --configure_sysroot=path
8.8 --arm_linux
8.3 --allow_null_this, --no_allow_null_this
8.44 --debug_macros, --no_debug_macros
8.91 --gnu
8.97 --hide_all, --no_hide_all
8.100 --implicit_include, --no_implicit_include
8.169 --signed_bitfields, --unsigned_bitfields
8.199 --wchar, --no_wchar
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.