[LLVMdev] compile linux kernel

Török Edwin edwintorok at gmail.com
Sat Sep 27 00:13:04 PDT 2008


On 2008-09-27 05:19, Ashish Bijlani wrote:
> Hi,
>
> I'm trying to compile linux-2.6.23.16 with llvm-2.3. Is it at all
> possible? I get "Not an ELF" error. I pass "-emit-llvm" option to spit
> LLVM IR, which can be JITed at runtime
>
>   

If you want to build a kernel you can't use the JIT anyway, so why not
just build native code?

Best regards,
--Edwin




More information about the llvm-dev mailing list