I was trying to test vmjc generated llvm-IR using lli tool and encountered some error. First I compiled java file using javac and then generated the .bc by using vmjc.
First I ran this to generate bc
vmjc -with-jit -disable-opt -main=HelloWorld HelloWorld
lli -load=…/lib/static-gc-printer.so HelloWorld.bc
LLVM ERROR: Program used external function ‘StartJnjvmWithJIT’ which could not be resolved!
actually this StartJnjvmWithJIT is available on libj3compiler.a but , how to link this static libraries with lli ? is there any way to generate supporting share library for this.