llvm on x86 barebone?
Does anyone know of any project involving running LLVm without an OS, i.e. directly on x86 hardware?
LLVM can statically compile code which can run directly on x86 hardware. However, the LLVM JIT relies on most of the LLVM libraries. It is not possible to compile these for a bare-bones x86 target.
In order to base an OS on LLVM IR and have it be JITed I see two options:
Write a new JIT engine designed to be run directly on x86 hardware. This would require re-writing all of the optimization passes if you wanted it to have any benefit over static compilation.
Take the smallest kernel you can that is easy to target LLVM for, then run the JIT on that. This means that the core of your OS won't be JITed, but a large part of it could be.