Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public
Document Table of Contents

m32, m64, Qm32, Qm64

Tells the compiler to generate code for a specific architecture.

Syntax

Linux:

-m32

-m64

macOS:

-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 -m64 option is the same as macOS option -arch x86_64. This option is not related to the Intel® C++ Compiler option arch.

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

IDE Equivalent

None

Alternate Options

None