Thanks! That worked. Everything is now set up and I am doing experiments.<div><br></div><div>Andreas<br><br><div class="gmail_quote">On Thu, Sep 17, 2009 at 10:43 PM, Nicolas Geoffray <span dir="ltr"><<a href="mailto:nicolas.geoffray@lip6.fr" target="_blank">nicolas.geoffray@lip6.fr</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Andreas,<br>
<br>
Since you're only looking for a Java frontend, I suggest you only build<br>
the Java frontend of vmkit and don't pass any pnet or mono information<br>
to the configure script. I haven't updated the pnet part of the .Net<br>
frontend. On the other hand, the Java frontend is up-to-date.<br>
<br>
Nicolas<br>
<div><br>
Andreas Saebjoernsen wrote:<br>
> Thanks, I am now working on compiling up VMKit.  When compiling VMKit<br>
> in my up-to-date svn checkout I get several error messages on missing<br>
> members of the class 'llvm::Type':<br>
><br>
> PNetLib.cpp: In function ‘void decapsulePrimitive(n3::VMObject*, const<br>
> llvm::Type*, std::vector<llvm::GenericValue,<br>
> std::allocator<llvm::GenericValue> >&)’:<br>
> PNetLib.cpp:694: error: ‘Int1Ty’ is not a member of ‘llvm::Type’<br>
> PNetLib.cpp:698: error: ‘Int8Ty’ is not a member of ‘llvm::Type’<br>
> PNetLib.cpp:702: error: ‘Int16Ty’ is not a member of ‘llvm::Type’<br>
> PNetLib.cpp:706: error: ‘Int32Ty’ is not a member of ‘llvm::Type’<br>
><br>
> There are several other errors on the same form. When inspecting the<br>
> source code of llvm::Type I do not see any member variables with those<br>
> names, but I see member functions on the form 'getInt1Ty(LLVMContext<br>
> &C)' where LLVMContextImpl have member variables with those names. Do<br>
> you know how to solve this problem?<br>
><br>
> thanks,<br>
> Andreas<br>
><br>
><br>
> On Thu, Sep 17, 2009 at 4:22 PM, Chris Lattner <<a href="mailto:clattner@apple.com" target="_blank">clattner@apple.com</a><br>
</div><div>> <mailto:<a href="mailto:clattner@apple.com" target="_blank">clattner@apple.com</a>>> wrote:<br>
><br>
><br>
>     On Sep 17, 2009, at 4:17 PM, Andreas Saebjoernsen wrote:<br>
><br>
>>     I am trying to compile the Java frontend in<br>
>>          https:/<a href="http://llvm.org/svn/llvm-project/java/trunk" target="_blank">llvm.org/svn/llvm-project/java/trunk</a><br>
</div>>>     <<a href="http://llvm.org/svn/llvm-project/java/trunk" target="_blank">http://llvm.org/svn/llvm-project/java/trunk</a>><br>
<div>>>     If there are another preferred Java frontend available, and it is<br>
>>     suited for translating Java bytecode to LLVM bytecode, I'd be<br>
>>     happy to use that frontend instead.<br>
><br>
>     That is really old and out of date, I'm sure it doesn't work<br>
>     anymore.  Check out <a href="http://vmkit.llvm.org/" target="_blank">http://vmkit.llvm.org/</a><br>
><br>
>     -Chris<br>
><br>
>><br>
>>     thanks,<br>
>>     Andreas<br>
>><br>
>>     On Thu, Sep 17, 2009 at 4:03 PM, Chris Lattner<br>
</div><div>>>     <<a href="mailto:clattner@apple.com" target="_blank">clattner@apple.com</a> <mailto:<a href="mailto:clattner@apple.com" target="_blank">clattner@apple.com</a>>> wrote:<br>
>><br>
>><br>
>>         On Sep 17, 2009, at 3:59 PM, Andreas Saebjoernsen wrote:<br>
>><br>
>>             I am looking for a way to translate Java bytecode to LLVM<br>
>>             bytecode and the LLVM Java frontend seem like a good<br>
>>             match for initial testing.  But after checking out the<br>
>>             svn version of the Java frontend I get the following<br>
>>             error when running configure<br>
>><br>
>>                configure: error: cannot find install-sh or install.sh<br>
>>             in ../../autoconf ./../../autoconf<br>
>><br>
>>             This error persisted even after successfully regenerating<br>
>>             configure with the 'AutoRegen.sh' script in the<br>
>>             'java/trunk/autoconf' subdirectory. Do you have any<br>
>>             advice on how to configure and compile the Java frontend?<br>
>><br>
>><br>
>>         Which java frontend?<br>
>><br>
>>         -Chris<br>
>><br>
>><br>
><br>
><br>
</div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
><br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div><br>
</div>