Export (0) Print
Expand All
Expand Minimize

/MACHINE (Specify Target Platform)

/MACHINE:{AM33|ARM|EBC|IA64|M32R|MIPS|MIPS16|MIPSFPU|MIPSFPU16|
          MIPSR41XX|SH3|SH3DSP|SH4|SH5|THUMB|X86}

The /MACHINE option specifies the target platform for the program.

Usually, you do not need to specify the /MACHINE option. LINK infers the machine type from the .obj files. However, in some circumstances, LINK cannot determine the machine type and issues a linker tools error LNK1113. If such an error occurs, specify /MACHINE.

CEE refers to the .NET Framework common language runtime.

To set this linker option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
  2. Click the Linker folder.
  3. Click the Advanced property page.
  4. Modify the Target Machine property.

To set this linker option programmatically

See TargetMachine Property.

See Also

Setting Linker Options | Linker Options

Show:
© 2014 Microsoft