Tells the linker to search for unresolved references in a multithreaded run-time library.
None
IA-32 architecture, Intel® 64 architecture, IA-64 architecture
Linux and Mac OS X: | -threads -nothreads |
Windows: | /threads /nothreads |
None
Systems using Intel® 64
architecture: threads Systems using IA-32 architecture and IA-64 architecture: nothreads |
On systems using IA-32 architecture and IA-64 architecture, the linker does not search for unresolved references in a mutithreaded run-time library. On systems using Intel® 64 architectures, 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