Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 3/22/2024
Public
Document Table of Contents

MT

Tells the linker to search for unresolved references in a multithreaded, static runtime library.

Syntax

Linux:

None

Windows:

/MT

/MTd

Arguments

None

Default

/MT

The linker searches for unresolved references in a multithreaded, static runtime library.

Description

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

This option is processed by the compiler, which adds directives to the compiled object file that are processed by the linker.

NOTE:

If you specify option -fsycl, it sets option /MD and you cannot specify option /MT.

NOTE:

This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.

IDE Equivalent

Visual Studio: Code Generation > Runtime Library

Eclipse: None

Alternate Options

None