Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
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 /noreentrancy:threaded

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. This is the same as specifying options /libs:static /threads /noreentrancy. 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.

CAUTION:

If the final executable will be linked with ifx option -fsycl, you should not specify /MT. Instead, you should use /MD.

NOTE:

This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation. Offloading can only be enabled when using ifx.

IDE Equivalent

Visual Studio: Libraries > Runtime Library

Alternate Options

None

See Also