m32, m64, Qm32, Qm64

Tells the compiler to generate code for a specific architecture.

Syntax

Linux:

-m32 (C++ only)

-m64

Windows:

/Qm32 (C++ only)

/Qm64 (C++ only)

Windows:

None (DPC++ only)

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

C++: -m32 or /Qm32

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

-m64
C++: or /Qm64

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

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

IDE Equivalent

None

Alternate Options

None