开发者

what does MD , LD etc stands for?

开发者 https://www.devze.com 2023-03-06 07:01 出处:网络
In c++ compiling, there is MD, MT and LD. MT is obviously multi-thread, what about开发者_运维技巧 others?MD: use Multithread DLL Library

In c++ compiling, there is MD, MT and LD. MT is obviously multi-thread, what about开发者_运维技巧 others?


MD: use Multithread DLL Library

MT: use Multithread, statically-linked library

LD: Create a DLL

See this MSDN link for more info


The command-line options for CL.EXE are all explained here. For your specific options:

  • /MD Creates a multithreaded DLL using MSVCRT.lib.
  • /MT Creates a multithreaded executable file using LIBCMT.lib.
  • /LD Creates a dynamic-link library.


http://msdn.microsoft.com/en-us/library/2kzt1wy3(v=vs.80).aspx

Pretty complete and informative link regarding compilation flags.

0

精彩评论

暂无评论...
验证码 换一张
取 消