Arm Community
Site
Search
User
Site
Search
User
Arm Developer
Documentation
Learning Paths
On-Demand Videos
Groups
Arm Ambassadors
Education Hub
Open Source Software and Platforms
Research Collaboration and Enablement
Forums
AI forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Automotive forum
Compilers and Libraries forum
Embedded and Microcontrollers forum
High Performance Computing (HPC) forum
Internet of Things (IoT) forum
Keil forum
Laptops and Desktops forum
Mobile, Graphics, and Gaming forum
Morello forum
Operating Systems forum
Servers and Cloud Computing forum
SoC Design and Simulation forum
SystemReady Forum
Blogs
AI blog
Announcements
Architectures and Processors blog
Automotive blog
Embedded and Microcontrollers blog
Internet of Things (IoT) blog
Laptops and Desktops blog
Mobile, Graphics, and Gaming blog
Operating Systems blog
Servers and Cloud Computing blog
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
Can DS5 compile Linux kernel module?
Jump...
Cancel
Locked
Locked
Replies
4 replies
Subscribers
121 subscribers
Views
3538 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
Can DS5 compile Linux kernel module?
Ali Ayoub
over 11 years ago
Note: This was originally posted on 4th December 2012 at
http://forums.arm.com
Hi,
I have a newbie question re using ARM DS5.
Is DS5 compiler capable of compiling Linux kernel module? or it's limited to user space applications only?
Thanks,
AAli
Scott Douglass
over 11 years ago
Note: This was originally posted on 7th December 2012 at
http://forums.arm.com
DS-5 comes with a Linaro gcc which can be used to build kernel modules and even the kernel on a Linux host.
Since armcc and gcc can be set to use the same ABI it's feasible to build some files with armcc and link the object files together with gcc-built object files.
But armcc does not do GNU inline asm nor GNU asm syntax and cannot be used to build the kernel (and I suspect it won't entirely build most kernel modules).
Cancel
Vote up
0
Vote down
Cancel
Abel Zhang
over 11 years ago
Note: This was originally posted on 18th December 2012 at
http://forums.arm.com
Culd ARMCC in DS-5 pro be used to compile the native code of Android NDK? If could, then how to do?
We try to use ARMCC to compile NEON intrincis in the native code of Android NDK, but found none guideline or articles. any sugessions? thanks a lot...
Cancel
Vote up
0
Vote down
Cancel
Scott Douglass
over 11 years ago
Note: This was originally posted on 18th December 2012 at
http://forums.arm.com
[It would be better to start a thread since your question is about a different topic. But I'll answer it here anyway.]
Unfortunately, building general native Android code with armcc is not supported* so there aren't any instructions in the documentation, but if you have a standalone object file built with armcc you can link it with other native code. gcc can also compile NEON intrincics.
One reason is that the Android C library, Bionic, does not supply all of the functions that the AEABI requires.
Cancel
Vote up
0
Vote down
Cancel
Abel Zhang
over 11 years ago
Note: This was originally posted on 19th December 2012 at
http://forums.arm.com
Thanks for your kindly reply!
quote name='scott' timestamp='1355829081' post='40270']
[It would be better to start a thread since your question is about a different topic. But I'll answer it here anyway.]
Unfortunately, building general native Android code with armcc is not supported* so there aren't any instructions in the documentation, but if you have a standalone object file built with armcc you can link it with other native code. gcc can also compile NEON intrincics.
One reason is that the Android C library, Bionic, does not supply all of the functions that the AEABI requires.
[/quote]
Cancel
Vote up
0
Vote down
Cancel