Skip to content

Commit e31947c

Browse files
author
Colin Robertson
authored
Update /MACHINE styles, date, add ARM64EC
Update /MACHINE styles, date, add ARM64EC.
1 parent 62cd096 commit e31947c

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

‎docs/build/reference/machine-specify-target-platform.md‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
---
22
description: "Learn more about: /MACHINE (Specify Target Platform)"
33
title: "/MACHINE (Specify Target Platform)"
4-
ms.date: "11/04/2016"
4+
ms.date: 03/25/2022
55
f1_keywords: ["VC.Project.VCLinkerTool.TargetMachine", "/machine"]
66
helpviewer_keywords: ["mapfiles, creating linker", "target platform", "-MACHINE linker option", "/MACHINE linker option", "MACHINE linker option"]
77
ms.assetid: 8d41bf4b-7e53-4ab9-9085-d852b08d31c2
88
---
99
# /MACHINE (Specify Target Platform)
1010

11-
```
12-
/MACHINE:{ARM|ARM64|EBC|X64|X86}
13-
```
11+
> **`/MACHINE:`**{**`ARM`**|**`ARM64`**|**`ARM64EC`**|**`EBC`**|**`X64`**|**`X86`**}
1412
1513
## Remarks
1614

17-
The /MACHINE option specifies the target platform for the program.
15+
The **`/MACHINE`** option specifies the target platform for the program.
1816

19-
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](../../error-messages/tool-errors/linker-tools-error-lnk1113.md). If such an error occurs, specify /MACHINE.
17+
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](../../error-messages/tool-errors/linker-tools-error-lnk1113.md). If such an error occurs, specify **`/MACHINE`**.
2018

2119
### To set this linker option in the Visual Studio development environment
2220

@@ -32,5 +30,5 @@ Usually, you don't have to specify the /MACHINE option. LINK infers the machine
3230

3331
## See also
3432

35-
[MSVC linker reference](linking.md)<br/>
33+
[MSVC linker reference](linking.md)\
3634
[MSVC Linker Options](linker-options.md)

0 commit comments

Comments
 (0)