gcc-version

Provides compatible behavior with gcc.

IDE Equivalent

Windows: None

Linux: Preprocessor > gcc Compatibility Options

Mac OS: None

Architectures

IA-32 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

Linux and Mac OS: -gcc-version=n
Windows:    None

Arguments

n = 320 Specify gcc 3.2 compatibility.
n = 330 Specify gcc 3.3 compatibility.
n = 340 Specify gcc 3.4 compatibility.
n = 400 Specify gcc 4.0 compatibility.
n = 410 Specify gcc 4.1 compatibility.
n = 411 Specify gcc 4.11 compatibility.
n = 420 Specify gcc 4.2 compatibility.

Default

This option defaults to the installed version of gcc.

Description

This option provides compatible behavior with gcc. It selects the version of gcc with which you achieve ABI interoperability.

Alternate Options

None

See Also