Hi,
I have recently installed llvm-3.1 , gnu classpath-0.97.2 and vmkit
I compiled a simple java file “hello.java” to hello.class
Then converted hello.class to llvm bytecode(hello.bc) using vmjc from vmkit
when i tried to run “hello.bc” using lli
I am getting the following error
shyam@shyam:~$ cat hello.java
import java.io.*;
class hello {
public static void main(String args)
{
System.out.println(“Hello world\n”);
}
}
shyam@shyam:~$ javac hello.java -o hello.class
shyam@shyam:~$ vmjc hello.class -o hello.bc
shyam@shyam:~$ lli hello.bc
unsupported GC: vmkit
UNREACHABLE executed at /home/shyam/llvm-3.1.src/lib/CodeGen/GCMetadata.cpp:99!
0 lli 0x089a5778
Stack dump:
0. Program arguments: lli hello.ll
Aborted
Please help me out