[LLVMdev] compile linux kernel

Török Edwin edwintorok at gmail.com
Sat Sep 27 08:45:12 PDT 2008


On 2008-09-27 18:29, Ashish Bijlani wrote:
> I plan to use virtualization infrastructure to JIT VM Kernel Code.
> Michael Engel has done that in the past to have dynamic aspect in the
> Kernel: http://llvm.org/pubs/2005-03-14-ACP4IS-AspectsKernel.pdf
>
> He used L4 based Hypervisor and Virtual Machines. Can this not be done
> or am I missing something?
>   

I think you'll need to modify the kernel build scripts to not expect ELF
output, such as mk_elfconfig.
LLVM outputs its own bytecode format when you use -emit-llvm, and not an
ELF format.

Best regards,
--Edwin



More information about the llvm-dev mailing list