1.65 --target

Generate code for the specified target triple.

Syntax

--target=triple

Where:

triple

has the form architecture-vendor-OS-abi.

Supported target triples 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 target triples 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.

Non-ConfidentialPDF file icon PDF versionDUI0774J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.