What's the difference between specifying /mdd
(multi-threaded debug dll) and /mtd
(multi-threaded debug) in Visual Studio??
/mtd
requires a static link, to produce a .exe
that's larger but not dependent on the DLL (that comes with VS2005) containing the runtime library.
In general if your application is small and does not contain multiple DLLs or EXEs you may prefer to statically link to the runtime libraries. This will simplify the distribution process since you will not need to install the runtime libraries.
If you have multiple DLLs or EXEs, since each EXE and DLL will be larger when statically linked as Alex stated, you may prefer to use dynamic linking to the runtime libraries making your application smaller.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With