Attempts to make the compiler compatible with a particular version of GCC.
Where version is a decimal number denoting the version of GCC that you are attempting to make the compiler compatible with.
Currently, the maximum supported value for --gnu_version in armcc v4.0 and later is 40400, that is gcc 4.4. Although version numbers larger than this are permitted, armcc treats them the same as 40400.
This option is for when GNU compatibility mode is being used.
This option is for expert use. It is provided for dealing with legacy code. You are not normally required to use it.
In ARM Compiler 4.1 and later, the default is 40200. This corresponds to GCC version 4.2.0.
--gnu_version=30401 makes the compiler compatible with GCC 3.4.1 as far as possible.