Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29277 Discussions

Linking to compiled fortran code from C/C++

yq006b
Beginner
448 Views
I work for The Boeing Company. Our group has an individual licence for the Intel Fortran compiler. Our developer who holds that license has developed several tools for us and distributed .exe files for us to use around the company. Now we want to link our Visual Studio 2008 compiled C/C++ code to some libraries he has compiled for us.

When we attempt to link, we are told that we do not have ifconsol.lib on our machines. (I am expecting there to be other files missing as well). Is it legal for us to distribute these .lib files to our C/C++ developers who do not have Intel Fortran and to distribute some of the tools our Fortran developer has created as .lib files so we can link to them from Visual Studio 2008 C/C++?


0 Kudos
2 Replies
DavidWhite
Valued Contributor II
448 Views

If you check the documentation, there should be a list of which libraries can be redistributed (or search this forum).

Alternatively, get the libraries recompiled using/libs:static. This should minimize the need to distribute extra libraries.

Regards, David

0 Kudos
Steven_L_Intel1
Employee
448 Views
The list of redistributable files is in a file called fredist.txt in the "Docs" folder. The static, non-debug libraries are redistributable.
0 Kudos
Reply