[LLVMdev] Compile Linux Kernel with LLVM gcc frontend

Patrick Flannery foster_flannery at yahoo.com
Fri Aug 31 16:25:42 PDT 2007


I can say that it does not for me,running x86_64, I have been generating errors for submission by testing on a number of gnu utilities starting with binutils.  

Patrick

On Aug 31, 2007, at 6:11 PM, "Haifeng He" <hehaifeng2nd at gmail.com> wrote:

Hi,

I am curious about if the current LLVM implementation can handle Linux
kernel (or any particular version of Linux kernel).  The first question I have
is that, how to create LLVM bytecode of Linux kernel using LLVM
gcc frontend. What changes should I make to the compiling process
Linux kernel?

Secondly, is it possible to compile the assembly code in Linux kernel into LLVM
bytecode? I noticed that llvm-as is for LLVM assembly code only. Is
there a LLVM assembly frontend for x86 assembly code?

Thanks

Haifeng
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev



      ____________________________________________________________________________________
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 





More information about the llvm-dev mailing list