[PATCH] Use Jikes as default compiler rather than Pizza.

Pavel Roskin pavel_roskin at geocities.com
Tue Apr 20 05:18:48 PDT 1999


Hello!

> Could I request, on this topic, that kaffe unbundle pizza?  Having a
> kaffe_tgz which doesn't include pizza is nicer for distributions like
> Debian, which won't use pizza (it's non-free).

I've just checked that Generic Java, developped by the same people as
Pizza (see http://www.cis.unisa.edu.au/~pizza/) but hopefully "free" in
the Debian sence, works with Kaffe!

What I've done so far:
Downloaded gjdist1.2.tar.gz (version 0.6k)
Unpacked it.
cd classes
mkdir META-INF
echo "Main-Class:     gjc.Main" > META-INF/MANIFEST.MF
zip -r gj.jar *
mv gj.jar /usr/local/share/kaffe/
echo 'kaffe -jar /usr/local/share/kaffe/gj.jar -g "$@"' >~/bin/gjc

-g is important, otherwise line numbers are unknown.
Now "make build-classes JAVAC=gjc" works in libraries/javalib
Resulting Klasses.jar behaves very well. All the programs work as before.

By the way, sources of Generic Java are open.

Pavel Roskin



More information about the kaffe mailing list