[LLVMdev] Compile Linux Kernel with LLVM gcc frontend

Chris Lattner sabre at nondot.org
Fri Sep 7 00:03:11 PDT 2007


On Fri, 31 Aug 2007, Patrick Flannery wrote:
> 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.

If you run into problems, please file bugs.

-Chris

> 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
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list