Mohan Embar writes:
What I'd like is to write a new makefile, using the latest
autoconf/automake, which: a) doesn't use libtool, and b)
incrementally
links each java package with ld -r. The ld -r approach means that the
final link consists of linking a small number of large .o files
instead
of a large number of small ones, which should be a lot faster. This
approach also stops it from tripping over command-line length limits,
and could perhaps later be extended to do something like
--enable-libgcj-multifile but for .o files.
An interesting alternative is to compile many .java files together,
getting the benefit of interprocedural optimization. I know this will
be prohibitively expensive on many machines, but I'd like to try on
the high-end boxes.