Displaying 2 results from an estimated 2 matches for "c3b21403".
2012 Apr 11
0
[LLVMdev] How to compile a linux module into .bc file using clang or llvm command?
...LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
--
Thanks,
Justin Holewinski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120410/c3b21403/attachment.html>
2012 Apr 11
2
[LLVMdev] How to compile a linux module into .bc file using clang or llvm command?
Hi, my friends
I know there is a difference between compiling a linux module and a simple helloworld programme.
If I compile a helloworld.c file, the command is
"clang -O3 -emit-llvm hello.c -c -o hello.bc"
But what the command should be if I want to compile a linux module into a .bc file? (I know it may be an easy question to you guys, but I really don't know where to find the