This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM Keywords

Note: This was originally posted on 9th July 2013 at http://forums.arm.com

Hi,

I am new to the ARM world. In one of the sample program that , i found some architectural conditions as below..


#if (defined(__ARM_ARCH_5TE__) || defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7R__))
  .equ  ARM_V5TE_COMPATIBLE,  1
#else
  .equ  ARM_V5TE_COMPATIBLE,  0
#endif

#if (defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7R__))
  .equ  ARM_V7_COMPATIBLE,   1
#else
  .equ  ARM_V7_COMPATIBLE,   0

Is __ARM_ARCH_5TE__ ,  __ARM_ARCH_6__ words are keywords for any cross compiler?
I am using DS-5   arm-none-linux-gnueabi-gcc compiler version 4.5.1
[size=2] Please give your ideas. Thanks in advance..[/size]
0