This option instructs the compiler to generate code for an ARM processor using big‑endian memory.
ARMv6 supports two different big‑endian modes:
- BE8
ARMv6 Byte Invariant Addressing mode.
- BE32
Legacy big‑endian mode.
The selection of BE8 versus BE32 is specified at link time.
The selection of the device using --device=name determines whether the compiler assumes --littleend or --bigend as the default.
Note
If you explicitly specify --bigend when generating code for a device that does not support big-endian memory, then the compiler generates an error.