Notes:
-
How to compile kaffe from the scratch?
-
How to rebuild jar files?
-
How to compile directly from CVS?
-
How to merge with original Kaffe?
-
How to debug Kaffe?
-
More notes about modification of kaffe.
How to compile from the scratch?
-
autoconf (to generate configure)
-
automake (to generate Makefile.in)
-
also run autoconf & automake under ./libltdl
-
./configure
-
gmake
-
gmake install
How to rebuild jar files?
-
Make sure kaffe is up to date.
-
go to corresponding directory, eg ./kaffe_src/libraries/javalib
-
make build-classes
How to compile directly from CVS?
-
check out from cvs.
-
rebuild jar files. (Go to next step. Not necessary any
more.)
-
compile fropm scratch.
How to merge with original Kaffe?
-
Unarchive the orginal kaffe source code, say in directory ./kaffe-x.x.x.
Here x.x.x is version of the orginal kaffe source code.
-
cd kaffe-x.x.x
-
cvs import -m "Import of kaffe v. x.x.x" kaffe_src RT_KAFFE KAFFE_X_X_X
-
cd ..
-
cvs checkout -jRT_KAFFE:yesterday -jRT_KAFFE kaffe_src
-
compile the original kaffe.
-
copy the jar from original source code to checkout directory, i.e. kaffe_src,
corresponding directories.
-
resolve conflictions.
-
rebuild the extended jar.
-
compile kaffe.
How to debug Kaffe?
-
Set environment KAFFE_DEBUG to "gdb", "emacs", or "xemacs".
eg. export KAFFE_DEBUG="xemacs"
-
Run kaffe as usual.