[LLVMdev] How to compile this linux-driver like programme into .bc file?

陳韋任
Sun, 15 Apr 2012 10:12:24 -0000

Hi ZhenKai,

  Perhaps you can try to write a kernel module and compile it by using Clang
first,
(see http://www.faqs.org/docs/kernel/). You might be interested in this page,
http://www.faqs.org/docs/kernel/x204.html which contains a Makefile used to
compile
a kernel module. Good Luck!

Regards,
chenwj

--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj