Hprc banner tamu.png

Difference between revisions of "Ada:Compile:Misc"

From TAMU HPRC
Jump to: navigation, search
(GNU gcc and Intel C/C++ Interoperability)
Line 15: Line 15:
 
The Intel(R) C++ Compiler is interoperable with GNU gcc* compiler versions greater than or equal to 3.2. See the Intel(R) C++ Compiler Documentation for more information at the [[SWDocs:Intel | Intel Software Documentation]] page.
 
The Intel(R) C++ Compiler is interoperable with GNU gcc* compiler versions greater than or equal to 3.2. See the Intel(R) C++ Compiler Documentation for more information at the [[SWDocs:Intel | Intel Software Documentation]] page.
  
[[Category:Eos]]
 
 
[[Category:Ada]]
 
[[Category:Ada]]

Revision as of 13:34, 26 April 2017

Misc

GNU gcc and Intel C/C++ Interoperability

C++ compilers are interoperable if they can link object files and libraries generated by one compiler with object files and libraries generated by the second compiler, and the resulting executable runs successfully. Some GNU gcc* versions are not interoperable, some versions are interoperable. By default, the Intel compiler will generate code that is interoperable with the version of gcc it finds on your system.

The Intel(R) C++ Compiler options that affect GNU gcc* interoperability include:

  • -cxxlib
  • -gcc-name
  • -gcc-version
  • -gxx-name
  • -fabi-version
  • -no-gcc (see gcc Predefined Macros for more information)

The Intel(R) C++ Compiler is interoperable with GNU gcc* compiler versions greater than or equal to 3.2. See the Intel(R) C++ Compiler Documentation for more information at the Intel Software Documentation page.