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.
Aborted
$ java Hello
hello, world!
"Hello" is a completely banal "hello world!" program.
Joshua
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/
> --with-llvmobj=/home/jowarner/code/llvm/
> --with-gnu-classpath-glibj=/usr/share/classpath/glibj.zip
>
> Nicolas
>
> On Mon, Jul 19, 2010 at 5:21 PM, Joshua Warner <joshuawarner32 at
gmail.com>wrote:
>
>> Sure:
>>
>> 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
>> tell.
>>
>> I configured llvm with the default configuration:
>> ./configure
>>
>> I configured vmkit with:
>> ./configure --with-llvmsrc=/home/jowarner/code/llvm/
>> --with-llvmobj=/home/jowarner/code/llvm/
>> --with-gnu-classpath-glibj=/usr/share/classpath/glibj.zip
>> --with-pnet-local-prefix=/home/jowarner/code/pnet-0.8.0/
>> --with-pnetlib=/home/jowarner/code/pnetlib-0.8.0/
>>
>> Thanks,
>> Joshua
>>
>>
>> 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.
>>>
>>> Ciao,
>>>
>>> Duncan.
>>> _______________________________________________
>>> LLVM Developers mailing list
>>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>>
>>
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20100719/f6cb0de5/attachment.html>