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

icl -MD behavior?

xunxun
Beginner
410 Views
Hi ,all

I know icl -MD can depend on other dlls, such as VC dlls and icl dlls.

But now I wish my program only depends on VC dlls (msvcrt*.dll), but no icl dlls (such as libmmd.dll/svml_dispmd.dll/libiomp5md.dll)

How can make icl do that?

Thanks.
0 Kudos
3 Replies
SergeyKostrov
Valued Contributor II
410 Views
How doesLinker options look like in your case? Could you post it?

Best regards,
Sergey
0 Kudos
xunxun
Beginner
410 Views
Quoting TimP (Intel)
You could add the Intel compiler static libraries (libmmt, svml_dispmt) as dependencies in the link section of your build, if you don't wish to switch to -MT. This would be recommended only for the final link of your .exe, not when making .dll.

How doesLinker options look like in your case? Could you post it?

Best regards,
Sergey

I have put libmmt.lib ... mt lib to my linker options.

Some projects have the effect.

But some projects like Firefox will come out some linker errors, such as undefined _imp...

I am sorry I lost the information.

If I have time, I will rebuilt it.

0 Kudos
xunxun
Beginner
410 Views
I try to use the method to build Firefox

it will come out:

prdtoa.obj: error LNK2019: unresolved external symbol __imp_fegetround referenced in function _PR_strtod.W


And __imp_fegetround is exported in libmmd.dll, but libmmt.lib has not it.
0 Kudos
Reply