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

陳韋任 chenwj at iis.sinica.edu.tw
Sun Apr 15 03:12:24 PDT 2012


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




More information about the llvm-dev mailing list