search for: nrofprocessors

Displaying 3 results from an estimated 3 matches for "nrofprocessors".

2009 Dec 09
2
[LLVMdev] How to run vmjc created .bc files?
...e in clone () from /lib/libc.so.6 The java file itself is very simple: public class NumProcs { /** * Displays the number of processors available in the Java Virtual Machine */ public static void main(String[] args) { Runtime runtime = Runtime.getRuntime(); int nrOfProcessors = runtime.availableProcessors(); System.out.println("Number of processors available to the Java Virtual Machine: " + nrOfProcessors); } } I just updated to the latest revision in svn. Michael nicolas geoffray wrote: > Hi Michael, > > > On Tue, Dec 8, 2009 at 6...
2009 Dec 08
0
[LLVMdev] How to run vmjc created .bc files?
Hi Michael, On Tue, Dec 8, 2009 at 6:26 PM, Michael Wu <mmwu at princeton.edu> wrote: > Hi, > > Thanks a lot for the help! I am getting some errors though: > > I am on a 32 bit chroot on a x86_64 system. Thus llc guesses the wrong > architecture from the module bitcode and spits out x86_64 assembly. I fixed > this by adding "-march=x86" to the llc options
2009 Dec 08
2
[LLVMdev] How to run vmjc created .bc files?
Hi, Thanks a lot for the help! I am getting some errors though: I am on a 32 bit chroot on a x86_64 system. Thus llc guesses the wrong architecture 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