# A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Intel White Paper on Compatibility Between Intel® C++ Compiler and GNU GCC Compiler for Linux

Summary

Explore complete binary and source compatibility between Intel C++/Fortran Compilers and the GNU development toolchain on Linux. This technical guide details how to ensure your code runs at peak performance on Intel platforms while maintaining seamless interoperability with common GCC/G++ builds. Ideal for developers and software engineers who require robust, cross-ecosystem compilation results using both industry-leading Intel optimizations and familiar GNU standards.

📄 Preview PAGE OF 27

Page 1 Text Content

Intel® Compiler for Linux*: Compatibility with GNU compilers

Intel® Compilers for Linux*: Compatibility with GNU Compilers

White Paper Dr. Fabio Baruffa Dr. Igor Vorobtsov Developer Products Division

Abstract This paper describes compatibility between the Intel® Compilers for Linux* and the GNU* compilers in terms of source, binary and command-line compatibility. The Intel® C++ and Fortran Compilers help make your software run at top speed on Intel's platforms, including those based on IA-32 and Intel® 64 architectures. The compilers also provide compatibility with commonly used Linux* software development tools.

Page Summary Contents For Intel White Paper on Compatibility Between Intel® C++ Compiler and GNU GCC Compiler for Linux

Page 1 Intel® Compiler for Linux*: Compatibility with GNU compilers Intel® Compilers for Linux*: Compatibility with GNU Compilers White Paper Dr. Fabio Baruffa Dr. Igor Vorobtsov Developer Products Division ...
Page 3 Intel® Compiler for Linux*: Compatibility with GNU compilers Contents Introduction.........................................................................................................................
Page 4 Intel® Compiler for Linux*: Compatibility with GNU compilers
Page 5 Intel® Compiler for Linux*: Compatibility with GNU compilers Introduction Intel® Parallel Studio XE 2018 is a software development tools suite which helps to build and modernize your application. It h...
Page 6 Intel® Compiler for Linux*: Compatibility with GNU compilers C and C++ Source Compatibility The Intel® C++ Compiler conforms to the following ANSI/ISO standards:  C++ ISO/IEC 14882:1998  C ISO/IEC 9...
Page 7 Intel® Compiler for Linux*: Compatibility with GNU compilers  You want to build something that cannot be compiled by the default version of the system compiler, so you need to use a legacy version fo...
Page 8 Intel® Compiler for Linux*: Compatibility with GNU compilers Open MP* Compatibility and Interoperability The term object-level interoperability refers to the ability to link object files generated by ...
Page 9 Intel® Compiler for Linux*: Compatibility with GNU compilers Binary Compatibility Intel® C++ Compiler 18.0 provides C and C++ binary compatibility with released versions of gcc including 4.3 and later...
Page 10 Intel® Compiler for Linux*: Compatibility with GNU compilers The example in Figure 3 demonstrates C++ binary compatibility with g++ by mixing binary files created by g++ and the Intel C++ Compiler. $ ...
Page 11 Intel® Compiler for Linux*: Compatibility with GNU compilers Linking and Libraries Linking C Language with Intel® Compiler and gcc Compiler C-language object files can be linked with either Intel Comp...
Page 12 Intel® Compiler for Linux*: Compatibility with GNU compilers nm utility on the Intel libraries helps determine which libraries are required. See the Intel C++ and Fortran User’s Guides , library secti...
Page 13 Intel® Compiler for Linux*: Compatibility with GNU compilers Using Optimized Math Function Library The math function library, libimf, is an optimized math library provided with the Intel Compilers. Th...
Page 14 Intel® Compiler for Linux*: Compatibility with GNU compilers Command Line Options The Intel C++ Compiler for Linux supports a large number of common GNU* compiler command-line options. Table 3 lists t...
Page 15 Intel® Compiler for Linux*: Compatibility with GNU compilers -EP Causes the preprocessor to send output to stdout, omitting #line directives. -G num Put global and static objects less than or equal to...
Page 16 Intel® Compiler for Linux*: Compatibility with GNU compilers -d M Instead of the normal output, generate a list of #define directives for all the macros defined during the execution of the preprocesso...
Page 17 Intel® Compiler for Linux*: Compatibility with GNU compilers -fdelete-null-pointer-checks Assume that programs cannot safely dereference null pointers, and that no code or data element resides at addr...
Page 18 Intel® Compiler for Linux*: Compatibility with GNU compilers -fminshared Specifies that a compilation unit is a component of a main program and should not be linked as part of a shareable object. -fno...
Page 19 Intel® Compiler for Linux*: Compatibility with GNU compilers -ftrapuv Initializes stack local variables to an unusual value to aid error detection. -funroll-all-loops Unroll all loops even if the numb...
Page 20 Intel® Compiler for Linux*: Compatibility with GNU compilers program and of the preprocessor and the compiler proper -undef Do not predefine any system-specific or GCC- specific macros. The standard p...
Page 21 Intel® Compiler for Linux*: Compatibility with GNU compilers -mcmodel=medium Generate code for the medium model: the program is linked in the lower 2 GB of the address space. -mcmodel=large Generate c...
Page 22 Intel® Compiler for Linux*: Compatibility with GNU compilers -mfentry If profiling is active (-pg), put the profiling counter call before the prologue. -mcrc32 This option enables built-in functions _...
Page 23 Intel® Compiler for Linux*: Compatibility with GNU compilers -Wcomments -Wcomment -Wconditionally-supported -Wcontext-limit=<val> -Wconversion -Wdeclaration-after-statement -Wdeprecated-declarat...
Page 24 Intel® Compiler for Linux*: Compatibility with GNU compilers Intel® Fortran Compiler The Intel Fortran Compiler supports the Fortran 95 standard and has complete support for the Fortran 2008 standard....
Page 25 Intel® Compiler for Linux*: Compatibility with GNU compilers Conclusion Intel C++ Compilers for Linux provide outstanding source-language, binary, and command-line compatibility with the GNU C and C++...
Page 26 Intel® Compiler for Linux*: Compatibility with GNU compilers Appendix A: Linux Distribution Support Information The following table lists supported glibc and bunitils versions for recent releases of t...
Page 27 Intel® Compiler for Linux*: Compatibility with GNU compilers References General information on Intel® software development tools, including the Intel C++ and Fortran Compilers: http://www.intel.com/so...

Manual Details

Brand Intel
Pages 27
File Size 1.28 MB
Published June 05, 2026
55 views

Enter the captcha to get the download link:

captcha

Frequently Asked Questions

Does the Intel C++ compiler support standards beyond what's standard?

Yes, it supports ANSI and ISO C and C++ standards, most GNU* extensions, full C11 and C++14 standards, and many features from C++17.

What is the binary compatibility of the Intel C++ Compiler for Linux with GCC?

The compiler generates C++ code that is binary compatible with g++. It also supports mixing and matching binary files compiled by gcc/g++.

Which versions of GNU compilers are supported?

gcc versions 4.3 - 6.3 and binutils versions 2.20-2.26 are explicitly supported for some releases. For the latest info, check Release Notes.

Is the Fortran Compiler compatible with GCC's gfortran?

No, the Intel Fortran Compiler is not binary compatible with GNU g77 or GNU gfortran compiler, and this compatibility is not a future goal.