Tells the linker to search for unresolved references in a multithreaded run-time library.
None
IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture
Linux: | -threads -nothreads |
Windows: | /threads /nothreads |
None
Intel EM64T systems: ON IA-32 and Intel Itanium systems: OFF |
On IA-32 and Intel Itanium systems, the linker does not search for unresolved references in a mutithreaded run-time library. On Intel EM64T systems, it does. |
This option tells the linker to search for unresolved references in a multithreaded run-time library.
This option sets option reentrancy threaded.
Windows systems: The following table shows which options to specify for a multithreaded run-time library.
Type of Library |
Options Required |
Alternate Option |
---|---|---|
Multithreaded | /libs:static /threads |
/MT |
Debug multithreaded | /libs:static /threads /dbglibs |
/MTd |
Multithreaded DLLs | /libs:dll /threads |
/MD |
Multithreaded debug DLLs | /libs:dll /threads /dbglibs |
/MDd |
None
Building Applications: Programming with Mixed Languages Overview