MT

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

IDE Equivalent

Windows: C/C++ > Code Generation > Runtime Library

Linux: None

Mac OS: None

Architectures

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

Syntax

Linux and Mac OS: None
Windows:  /MT
/MTd

Arguments

None

Default

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

Description

This option tells the linker to search for unresolved references in a multithreaded, static run-time library.
You can also specify /MTd, where d  indicates a debug version.

Alternate Options

None