You copied the Doc URL to your clipboard.

-marm

Requests that the compiler targets the A32 instruction set.

Processors in AArch64 state execute A64 instructions. Processors in AArch32 state can execute A32 or T32 instructions. The -marm option targets the A32 instruction set for AArch32 state.

Note

The -marm option is only valid with AArch32 targets, for example --target=armv8a-arm-none-eabi. The compiler ignores the -marm option and generates a warning with AArch64 targets.

Default

The default for the armv8a-arm-none-eabi target is -marm.

Related reference

Was this page helpful? Yes No