fabi-version

Instructs the compiler to select a specific ABI implementation.

IDE Equivalent

Linux: Preprocessor > gcc Compatibility Options

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux: -fabi-version=n
Windows:    None

Arguments

n      Is the ABI implementation. Possible values are:
  0      Requests all the latest ABI fixes.
  1 Requests the ABI used in gcc 3.3.
  2 Requests the ABI used in gcc 3.4 and higher.

Currently, values 0 and 2 are equivalent.

Default

-fabi-version=0      If gcc 3.2 is installed.
-fabi-version=1 If gcc 3.3 is installed.
-fabi-version=2 If gcc 3.4 or newer is installed.

Description

This option tells the compiler to select a specific ABI implementation. This option is compatible with gcc option -fabi-version. If you have multiple versions of gcc installed, the compiler may change the value of n  depending on which gcc is detected in your path.

NOTE

gcc 3.2 and 3.3 are not fully ABI-compliant, but gcc 3.4 is highly ABI-compliant.

CAUTION

Do not mix different values for -fabi-version in one link.

Alternate Options

None