[kaffe] [patch] Support for using a precompiled rt.jar

Dalibor Topic robilad at yahoo.com
Tue Feb 25 02:55:01 PST 2003


I hope this is good news for the cross-compiling
developers (and possibly others). The attached patch
allows you to use a precompiled rt.jar instead of
compiling the class library during the build.

A new configure time option --with-rt-jar is
uses the given rt.jar instead of rebuilding it.

Note that you should only use rt.jar's corresponding
to the version of kaffe you're building, as sometimes
incompatible changes (like moving implementations from
native to Java and the other way round) happen.

In short, this allows you to build a rt.jar on a fast
platform, and use it when building on another. It also
helps when kaffe crashes during the building of the
class library, because you can now use a precompiled
rt.jar and concentrate on fixing the bugs using the
regression tests [1]. Finally, it provides an easy way
to experiment with Java optimizers on rt.jar in order
to reduce size, improve speed, you name it.

Accordingly, it may be nice to provide a way to
download different precompiled rt.jars on kaffe.org.
If   you want that to happen, tell me what kind of
rt.jar-s you want to be able to download.

The patch applies against the current CVS. Please give
it a try if you're interested and tell me if it breaks

My next 'making life easier for developers' project is
to allow the use of a precompiled test.jar for
regression tests. Ideas, patches, flames are welcome
as usual.

dalibor topic

[1] unfortunately, one can't always use jikes. 1.18
currently crashes compiling the class library on arm-linux.

Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
-------------- next part --------------
A non-text attachment was scrubbed...
Name: with-precompiled-rt-jar.diff.bz2
Type: application/octet-stream
Size: 20256 bytes
Desc: with-precompiled-rt-jar.diff.bz2
Url : http://kaffe.org/pipermail/kaffe/attachments/20030225/341b04cc/attachment-0003.obj 

More information about the kaffe mailing list