m32, m64

Tells the compiler to generate code for a specific architecture.

IDE Equivalent

None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

-m32

-m64

Windows:

None

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

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

-m64

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

The -m32 and -m64 options are the same as Mac OS* X options -arch i386 and -arch x86_64, respectively. Note that these options are provided for compatibility with gcc. They are not related to the Intel® C++ compiler option arch.

Alternate Options

None


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.