[LLVMdev] Compiled Code size

Chris Lattner sabre at nondot.org
Tue Sep 18 20:26:50 PDT 2007


On Sep 18, 2007, at 8:08 PM, Scott Brooks wrote:

> I'm looking to embed the JIT into another application, and judging  
> from lli,
> there is a lot of code that goes into lli.
>
> What is the minimum set of libraries that I'll need to load in  
> order to load
> up a bitcode file, and run it through the JIT?

llvm-config knows all the dependencies:

$ llvm-config --libs jit bitreader
-lLLVMBitReader /Users/sabre/llvm/Debug/lib/LLVMJIT.o /Users/sabre/ 
llvm/Debug/lib/LLVMExecutionEngine.o -lLLVMTarget -lLLVMCore - 
lLLVMSupport -lLLVMSystem

-Chris



More information about the llvm-dev mailing list