Instructs the compiler to select a specific ABI implementation.
Windows: None
Linux: Preprocessor > gcc Compatibility Options
Mac OS: None
IA-32 architecture, Intel® 64 architecture, IA-64 architecture
Linux and Mac OS: | -fabi-version=n |
Windows: | None |
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.
-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 higher is installed. |
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.
None