1.48 --target

Generate code for the specified target triple.

Syntax

--target=triple
Where:
triple
has the form architecture-vendor-OS-abi.
Supported targets are as follows:
aarch64-arm-none-eabi
Generates A64 instructions for AArch64 state. Implies -march=armv8-a unless -mcpu or -march is specified.
arm-arm-none-eabi
Generates A32/T32 instructions for AArch32 state. Must be used in conjunction with -march (to target an architecture) or -mcpu (to target a processor).

Note

  • The targets are case-sensitive.
  • The --target option is an armclang option. For all of the other tools, such as armasm and armlink, use the --cpu and --fpu options to specify target processors and architectures.

Default

The --target option is mandatory and has no default. You must always specify a target triple.
Related reference
1.34 -marm
1.43 -mthumb
1.37 -mcpu
1.40 -mfpu
Related information
Specifying a target architecture, processor, and instruction set
armasm User Guide
armlink User Guide
Non-ConfidentialPDF file icon PDF versionARM DUI0774E
Copyright © 2014-2016 ARM. All rights reserved.