search for: membervar

Displaying 5 results from an estimated 5 matches for "membervar".

2009 Dec 08
2
[LLVMdev] How to run vmjc created .bc files?
...chitecture from the module bitcode and spits out x86_64 assembly. I fixed this by adding "-march=x86" to the llc options in llcj. gcc doesn't know what -lgc is. I'm guessing it is the garbage collection library. How can I get it or point gcc to the right library? llcj -mem2reg MemberVar.class /usr/bin/ld: cannot find -lgc collect2: ld returned 1 exit status If I have class files that depends on other class files, will llcj be able to find those and compile them into the executable as well? Also, I have an addition to the Java standard library backported from Java 7, which is n...
2009 Dec 09
2
[LLVMdev] How to run vmjc created .bc files?
...ase you configured vmkit to use it. Since > you don't need it (vmkit uses its own gc by default), you should > change the tools/llcj/llcj.cpp file, remove the line with "-lgc" and > recompile it. Yes, it's _that_ of a new feature yet :) > > > llcj -mem2reg MemberVar.class > /usr/bin/ld: cannot find -lgc > > collect2: ld returned 1 exit status > > If I have class files that depends on other class files, will llcj > be able to find those and compile them into the executable as well? > > > No, but you can create a big .j...
2009 Dec 08
0
[LLVMdev] How to run vmjc created .bc files?
...-lgc is for the boehmgc in case you configured vmkit to use it. Since you don't need it (vmkit uses its own gc by default), you should change the tools/llcj/llcj.cpp file, remove the line with "-lgc" and recompile it. Yes, it's _that_ of a new feature yet :) > llcj -mem2reg MemberVar.class > /usr/bin/ld: cannot find -lgc > > collect2: ld returned 1 exit status > > If I have class files that depends on other class files, will llcj be able > to find those and compile them into the executable as well? > > No, but you can create a big .jar file containing al...
2009 Dec 08
0
[LLVMdev] How to run vmjc created .bc files?
Hi Michael, Currently, you can run vmjc created .bc files by statically linking them with all the .o needed files. For that, you can use the llcj tool, which works more or less like GCC's gcj tool. Note that you also need to create the libvmjc.so file, which contains the standard library in native form. Do a make in the tools/vmjc/libvmjc directory. Once this is done, update the
2009 Dec 06
2
[LLVMdev] How to run vmjc created .bc files?
Hi, What do I need to link with vmjc created .bc files to actually run the .bc file? I tried running with lli but only got: LLVM ERROR: Program used external function 'StartJnjvmWithoutJIT' which could not be resolved! Thanks, Michael