Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

possible to link math.h library (system DLL) instead of mathimf.h (libmmd.dll)?

gobball
Beginner
500 Views
Hi,I am using the Intel C++ compiler for windows (ver 11.1), the lastest version. AsI want to minimize the number offiles when distribution, I hope that the math functions are linked to system DLLs instead of the libmmd.dll from the Intel C++ directories. Although I included "math.h" (instead of "mathimf.h") in the header files, the Intell C++ complier will still link the libmmd.dll into the executable file. Is there any feasible wayto avoid linking that library?
0 Kudos
1 Solution
TimP
Honored Contributor III
500 Views
You could choose a static link (/MT), so that the necessary functions are included in the .exe.

View solution in original post

0 Kudos
1 Reply
TimP
Honored Contributor III
501 Views
You could choose a static link (/MT), so that the necessary functions are included in the .exe.
0 Kudos
Reply