2.1.82. --gnu_version=version

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

Syntax

--gnu_version=version

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

Mode

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

Usage

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

Default

In RVCT v4.0, the default is 40200. This corresponds to GCC version 4.2.0.

Example

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

See also

Copyright © 2007-2010 ARM. All rights reserved.ARM DUI 0348C
Non-ConfidentialID101213