7.7 --arm

Targets the ARM instruction set. The compiler is permitted to generate both ARM and Thumb code, but recognizes that ARM code is preferred.


This option is not relevant for Thumb-only processors such as Cortex-M4, Cortex-M3, Cortex-M1, and Cortex-M0.


This is the default option for targets supporting the ARM instruction set.
Related reference
7.8 --arm_only
7.155 --thumb
9.75 #pragma arm
7.1 -Aopt
7.22 --compatible=name
7.28 --cpu=list
7.29 --cpu=name compiler option
Related information
ARM architectures supported by the toolchain
Non-ConfidentialPDF file icon PDF versionARM DUI0375G
Copyright © 2007, 2008, 2011, 2012, 2014, 2015 ARM. All rights reserved.