MT

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

IDE Equivalent

None

Architectures

IA-32 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

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

Arguments

None

Default

Systems using Intel® 64 architecture: /MT/noreentrancy
IA-32 architecture 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 architecture and IA-64 architecture, the linker searches for unresolved references in a single-threaded, static run-time library. However, on systems using IA-32 architecture, if option Qvc8 is in effect, the linker searches for unresolved references in threaded libraries.

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/noreentrancy.
You can also specify /MTd, where d indicates a debug version.

Alternate Options

None

See Also

Qvc compiler option

libs compiler option

threads compiler option

reentrancy compiler option