/MACHINE (Specify Target Platform)
/MACHINE:
{ARM
|ARM64
|ARM64EC
|EBC
|X64
|X86
}
Remarks
The /MACHINE
option specifies the target platform for the program.
Usually, you don't have 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
.
To set this linker option in the Visual Studio development environment
Open the project's Property Pages dialog box. For details, see Set C++ compiler and build properties in Visual Studio.
Select the Configuration Properties > Linker > Advanced property page.
Modify the Target Machine property.
To set this linker option programmatically
- See TargetMachine.
See also
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru