Patch to avoid using old Klasses.jar
Pavel Roskin
pavel_roskin at geocities.com
Wed Jun 2 00:18:35 PDT 1999
Hello!
The attached patch prevents using the existing Klasses.jar while
compliling java classes with jikes.
Changes in the java code can make new sources incompatible with the new
code. The sources should be compatible with each other, and not with their
older versions. That's why it is important to compile Klasses.jar from
scratch.
By the way, I would prefer to have Klasses.jar and pizza.jar outside the
repository. It takes too much time to update Klasses.jar via a dial-up
link. It could be available separately (from the homepage or from a
separate CVS module). Then both people with slow connection and people
with slow machines will be happy.
What about pizza, it is not the best java compiler for work with Kaffe,
and it is not GPL'ed. Even Jikes is "politically" better, since its
sources are available.
Pavel Roskin
-------------- next part --------------
Index: libraries/javalib/rebuildLib.in
===================================================================
RCS file: /home/cvspublic/kaffe/libraries/javalib/rebuildLib.in,v
retrieving revision 1.12
diff -u -r1.12 rebuildLib.in
--- rebuildLib.in 1999/04/08 00:00:17 1.12
+++ rebuildLib.in 1999/06/02 07:03:36
@@ -36,13 +36,13 @@
if [ -z "$JAVAC" ]; then
JAVAC="$JAVA pizza.compiler.Main"
fi
- CPATH="$LIBDIR${CPATH+:$CPATH}"
+ CPATH="-classpath $LIBDIR${CPATH+:$CPATH}"
else
JAVAC="$JIKES"
- CPATH="$LIBDIR${CPATH+:$CPATH}:Klasses.jar"
+ # CPATH is not needed for jikes
fi
cd $SRCDIR
echo "Compiling classes ..."
-$JAVAC -verbose -d $LIBDIR -classpath $CPATH ${1+"$@"}
+$JAVAC -verbose -d $LIBDIR $CPATH ${1+"$@"}
More information about the kaffe
mailing list