user705414
user705414

Reputation: 21200

what does MD , LD etc stands for?

In c++ compiling, there is MD, MT and LD. MT is obviously multi-thread, what about others?

Upvotes: 2

Views: 1080

Answers (3)

James McLeod
James McLeod

Reputation: 2406

MD: use Multithread DLL Library

MT: use Multithread, statically-linked library

LD: Create a DLL

See this MSDN link for more info

Upvotes: 2

Andy Ibanez
Andy Ibanez

Reputation: 12254

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

Pretty complete and informative link regarding compilation flags.

Upvotes: 0

Marcelo Cantos
Marcelo Cantos

Reputation: 185962

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.

Upvotes: 1

Related Questions