Stuart Ballard wrote:
> So here's my question: What JVM and compiler are people using? I would
> use Japhar, except I'm only on a 486 and I'd like my compiles to take
> under an hour if possible ;) (I know it will get faster, so I hope this
> remark doesn't cause anyone offense). Kaffe would be nice, except for
> licensing issues which I'm not sure about, and I'm also not sure whether
> it comes with a compiler (and due to the licensing, I wouldn't be able
> to run Sun's javac on it, presumably) (even if Sun's java software *is*

Japhar is good to test with since that is our first target JVM.  I think you
can run javac under it these days, but I've never tried.  I also test my
code under the JDK if possible in order to confirm that I get consistent
behavior.

I recommend the guavac compiler.  I believe you can get it from
http://www.cs.berkeley.edu/~engberg/guavac/ or someplace like that.  The
only problem is building it, which requires gcc 2.8.1 or better.  Most Linux
distribs come with 2.7.X.X since that is what you need to compile the kernel
correctly.  I recommend installing the latest egcs (http://egcs.cygnus.com),
which will build guavac correctly.  Do not replace your existing compiler
with egcs or your kernel builds will be buggy.  guavac is written in C++ and
is very fast.  My only complaints are that its error messages can be cryptic
and it basically stops parsing on the first error it encounters.  It is also
GPL'd.

If you have real problems getting guavac to build, let me know and I can try
to get you some Linux 2.0.X binaries.  (glibc based only).

If you download the JDK, you can use javac to compile your code if you would
like.  Compiling with javac does not affect our license or the clean room
environment.  I don't use it because it is not free software and it is
incapable of compiling my code.

Kaffe has no license issues.  It is a free JVM.  It does come with a
compiler, but I have never tested it.  Caveat emptor.

-- 
*****************************************************
* Aaron M. Renn                                     *
* Email: [EMAIL PROTECTED]                      *
* Homepage: <URL:http://www.urbanophile.com/arenn/> *
*****************************************************

Reply via email to