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 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

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

Arguments

None

Default

Systems using Intel® 64 architecture: /MT
IA-32 and IA-64 architecture: OFF
On systems using Intel® 64 architecture, the linker searches for unresolved references in a multithreaded, static run-time library. On systems using IA-32 and IA-64 architecture, 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