[LLVMdev] Fwd: Building VMKit
joshuawarner32 at gmail.com
Mon Jul 19 09:20:00 PDT 2010
Forgot to send to the mailing list...
---------- Forwarded message ----------
From: Joshua Warner <joshuawarner32 at gmail.com>
Date: Mon, Jul 19, 2010 at 10:19 AM
Subject: Re: [LLVMdev] Building VMKit
To: nicolas geoffray <nicolas.geoffray at gmail.com>
Thanks Nicolas, that worked great!
Now, I'm having trouble invoking the compiler properly:
$ llcj Hello.class -o=Hello.ll
$ cat Hello.ll
cat: Hello.ll: No such file or directory
$ j3 Hello
j3: JavaClass.cpp:480: j3::JavaObject* j3::Class::doNew(j3::Jnjvm*):
Assertion `(this->isInitializing() ||
classLoader->getCompiler()->isStaticCompiling()) && "Uninitialized class
when allocating."' failed.
$ java Hello
"Hello" is a completely banal "hello world!" program.
On Mon, Jul 19, 2010 at 9:44 AM, nicolas geoffray <
nicolas.geoffray at gmail.com> wrote:
> Hi Joshua,
> The .Net implementation in VMKit hasn't been updated for a long while.
> Fortunately for you, the Java implementation is not :). Remove all pnet
> references in your configure and it should compile fine:
> ./configure --with-llvmsrc=/home/jowarner/code/llvm/
> On Mon, Jul 19, 2010 at 5:21 PM, Joshua Warner <joshuawarner32 at gmail.com>wrote:
>> I'm on 64-bit Ubuntu Linux 10.04 with gcc 4.4.3. I followed the
>> instructions on http://vmkit.llvm.org/get_started.html, as near as I can
>> I configured llvm with the default configuration:
>> I configured vmkit with:
>> ./configure --with-llvmsrc=/home/jowarner/code/llvm/
>> On Mon, Jul 19, 2010 at 8:40 AM, Duncan Sands <baldrick at free.fr> wrote:
>>> > I'm trying to build VMKit from SVN, and I'm getting a bunch of errors
>>> > that all seem to be related to the TRACER macro not getting defined:
>>> > Is there something wrong with my configuration?
>>> Hi Joshua, some details like what platform you are on (darwin, linux,
>>> windows), what compiler you are using, how you configured LLVM etc
>>> would be helpful.
>>> LLVM Developers mailing list
>>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev