Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Can DS5 compile Linux kernel module?
Jump...
Cancel
Locked
Locked
Replies
4 replies
Subscribers
120 subscribers
Views
3702 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 12 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
Parents
Scott Douglass
over 12 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
Reply
Scott Douglass
over 12 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
Children
No data