Targets an architecture profile, generating generic code that runs on any processor of that architecture.
Specifies the architecture.
The following are valid
ARMv8-A architecture profile. Valid with both
ARMv7-A architecture profile. Only valid with
For AArch64 targets (
--target=aarch64-arm-none-eabi), unless you target a particular
-mcpu. the compiler defaults to
-march=armv8-a, generating generic code for
ARMv8-A in AArch64 state.
For AArch32 targets (
--target=arm-arm-none-eabi) there is no default. You must specify
-march (to target an architecture) or
-mcpu (to target a processor).