简体   繁体   中英

what does MD , LD etc stands for?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM