MT

Tells the linker to search for unresolved references in a multithreaded, static run-time library.

IDE Equivalent

None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux: None
Windows:  /MT
/MTd

Arguments

None

Default

Intel EM64T systems: ON
IA-32 and Intel Itanium systems: OFF
On IA-32 and Intel Itanium systems, the linker searches for unresolved references in a single-threaded, static run-time library. On Intel Itanium systems, the linker searches for unresolved references in a multithreaded, static run-time library.

Description

This option tells the linker to search for unresolved references in a multithreaded, static run-time library. This is the same as specifying options /libs:static /threads.
You can also specify /MTd, where d  indicates a debug version.

Alternate Options

None

See Also

libs compiler option

threads compiler option