Arm Community
Site
Search
User
Site
Search
User
Groups
Research Collaboration and Enablement
DesignStart
Education Hub
Innovation
Open Source Software and Platforms
Forums
AI and ML forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Arm Virtual Hardware forum
Automotive forum
Compilers and Libraries forum
Graphics, Gaming, and VR forum
High Performance Computing (HPC) forum
Infrastructure Solutions forum
Internet of Things (IoT) forum
Keil forum
Morello Forum
Operating Systems forum
SoC Design and Simulation forum
中文社区论区
Blogs
AI and ML blog
Announcements
Architectures and Processors blog
Automotive blog
Graphics, Gaming, and VR blog
High Performance Computing (HPC) blog
Infrastructure Solutions blog
Innovation blog
Internet of Things (IoT) blog
Operating Systems blog
Research Articles
SoC Design and Simulation blog
Tools, Software and IDEs blog
中文社区博客
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Support forums
Arm Development Studio forum
ARM Keywords
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
121 subscribers
Views
2278 views
Users
0 members are here
Options
Share
More actions
Cancel
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
Offline
Sreenath P V
over 9 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]
Offline
Scott Douglass
over 9 years ago
Cancel
Up
0
Down
Cancel
Offline
Sreenath P V
over 9 years ago
Note: This was originally posted on 11th July 2013 at
http://forums.arm.com
Hi scott,
Did you know where [color=#222222][font=Arial, Helvetica, sans-serif][size=2]__ARM_ARCH_7A__ [/size][/font][/color]macros defined( under which plat forms, cpu ). I think it must be under armv7. so i used [size=3]-mcpu=cortex-a8[/size] [size=3]-mlittle-endian -march=armv7-a for building application , Still [/size][color=#222222][font=Arial, Helvetica, sans-serif][size=2]__ARM_ARCH_7A__,[/size][/font][/color]
__ARMEL__[color=#222222][font=Arial, Helvetica, sans-serif][size=2] [/size][/font][/color]
[color=#222222][font=Arial, Helvetica, sans-serif] not available in assembly code. Do you have any idea about this ??[/font][/color]
Cancel
Up
0
Down
Cancel
Offline
Scott Douglass
over 9 years ago
Note: This was originally posted on 11th July 2013 at
http://forums.arm.com
If you're calling gcc to build the asm file then you can use either the filename suffix or the -x option to control whether the asm is preprocessed or not:
http://gcc.gnu.org/o...ll-Options.html
Cancel
Up
0
Down
Cancel