--gnu_version=version

This option attempts to make the compiler compatible with a particular version of GCC.

Show/hideSyntax

--gnu_version=version

Where version is a decimal number denoting the version of GCC that you are attempting to make the compiler compatible with.

Show/hideMode

This option is for when GNU compatibility mode is being used.

Show/hideUsage

This option is for expert use. It is provided for dealing with legacy code. You are not normally required to use it.

Show/hideDefault

In ARM Compiler 4.1 and later, the default is 40200. This corresponds to GCC version 4.2.0.

Show/hideExample

--gnu_version=30401 makes the compiler compatible with GCC 3.4.1 as far as possible.

Show/hideSee also

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0491E
Non-ConfidentialID071611