The Intel® Fortran main program can call Intel Fortran subprograms, including subprograms in static and shared libraries.
For mixed-language applications, the Intel Fortran main program can call subprograms written in C/C++ if the appropriate calling conventions are used (see Calling C Procedures from a Fortran program).
Intel Fortran subprograms can be called by C/C++ main programs. If the main program is C/C++, you need to use the -nofor_main compiler option to indicate this.
Copyright © 1996-2010, Intel Corporation. All rights reserved.