Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
ARM Keywords
Locked
Locked
Replies
3 replies
Subscribers
120 subscribers
Views
2515 views
Users
0 members are here
Options
Share
More actions
Related
How was your experience today?
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
Sreenath P V
over 11 years ago
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
Quote