Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Announcements
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Pelion IoT Platform
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Developer Community
Tools and Software
Software Tools
Jump...
Cancel
Software Tools
Arm Development Studio forum
Can DS5 compile Linux kernel module?
Tools, Software and IDEs blog
Forums
Videos & Files
Help
Jump...
Cancel
New
Replies
4 replies
Subscribers
128 subscribers
Views
2298 views
Users
0 members are here
Related
Can DS5 compile Linux kernel module?
Offline
Ali Ayoub
over 7 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
Offline
Scott Douglass
over 7 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
Up
0
Down
Reply
Cancel
Offline
Abel Zhang
over 7 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
Up
0
Down
Reply
Cancel
Offline
Scott Douglass
over 7 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
Up
0
Down
Reply
Cancel
Offline
Abel Zhang
over 7 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
Up
0
Down
Reply
Cancel
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Suggested Answer
On Cortex-M4F microcontrollers: is fixed point math faster or floating point?
0
3542
views
10
replies
Latest
28 days ago
by
Ronan Synnott
Suggested Answer
Debugging kernel: OS support not working for Linux 5.4
0
Kernel Developers
External Hardware Debug
Debugger
3199
views
5
replies
Latest
1 month ago
by
sgoldschmidt
Suggested Answer
DS-5 bare metal wait error after run "debug"
0
DS-5 Development Studio
Debugging
Arm Compiler 5
Memory
24688
views
14
replies
Latest
1 month ago
by
prasadghole
Suggested Answer
ARM development studio with ARM Juno r2 board
0
Juno Arm Development Platform
Arm Development Studio
Products
Arm Support
3132
views
2
replies
Latest
1 month ago
by
Ronan Synnott
Answered
"Unable to execute remote query (response code 503) " issue
0
3098
views
1
reply
Latest
1 month ago
by
Ronan Synnott
<
>
View all questions in Arm Development Studio forum