Search
Support & Downloads
All of Support
This Category
Software Products
Intel® C++ Compiler
Linking mixed Fortran-C/C++ applications

Beginning with the 9.x release, Fortran applications are no longer linked against a C++ runtime library by default. The Intel® Fortran driver (ifort) may be used to link mixed C++ and Fortran applications by using the -cxxlib option to link against a C++ runtime library. If the Intel® C++ driver (icpc/icl) is used to link mixed C++ and Fortran applications, the appropriate Fortran runtime libraries must be added to the command line. The runtime libraries supplied with the Intel® Fortran compiler are listed in the "Libraries Provided by Intel Fortran" section of the Fortran Compiler User's Guide. It is possible to see which runtime libraries would be linked by either of the compiler drivers by using the -dryrun command line option.

This applies to:
Intel® C++ Compiler for Linux*
Intel® C++ Compiler for Mac OS*
Intel® C++ Compiler for Windows*
Intel® Fortran Compiler for Linux*
Intel® Fortran Compiler for Mac OS*
Intel® Fortran Compiler for Windows*

Solution ID: CS-020966
Date Created: 09-Jun-2005
Last Modified: 06-Jun-2007