Intel® Fortran Compiler 17.0 Developer Guide and Reference

m32, m64, Qm32, Qm64

Tells the compiler to generate code for a specific architecture.

Architecture Restrictions

Not available on Intel® 64 architecture targeting the Intel® Xeon Phi™ coprocessor x100 product family (formerly code name Knights Corner)

Syntax

Linux and macOS:

-m32

-m64

Windows:

/Qm32

/Qm64

Arguments

None

Default

OFF

The compiler's behavior depends on the host system.

Description

These options tell the compiler to generate code for a specific architecture.

Option

Description

-m32 or /Qm32

Tells the compiler to generate code for IA-32 architecture.

-m64 or /Qm64

Tells the compiler to generate code for Intel® 64 architecture.

The -m32 and -m64 options are the same as OS X* options -arch i386 and -arch x86_64, respectively. These options are not related to the Intel® Fortran Compiler option arch.

On Linux* systems, these options are provided for compatibility with gcc.

IDE Equivalent

None

Alternate Options

None