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