You copied the Doc URL to your clipboard.

--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 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

Was this page helpful? Yes No