libgcj.dll on MinGW

Tom Tromey tromey@redhat.com
Fri Aug 26 17:45:00 GMT 2005


>>>>> "TJ" == tj  <tj@laurenzo.org> writes:

TJ> I have succeeded in getting gcj 4.1 (from May 15, 2005 source which
TJ> seems to be about the last time GCC built for MinGW) to produce a
TJ> shared libgcj-6.dll on MinGW.

Excellent.

TJ> As an aside, the dll has gained substantial weight since the 3.3 days.
TJ>  Unstripped I show about 22MB.  Stripped drops it down to 13MB.  It
TJ> compresses pretty nicely, though.

One thing we have discussed, but never implemented, is the idea of
splitting libgcj.so into multiple smaller libraries, the idea being
that (e.g.) many programs don't need AWT or Swing.

TJ> I'll post more once I get the build ironed out a bit so that it is
TJ> generally repeatable.  I figure that having a straight-forward,
TJ> controlled way to build the dll for MinGW is the first step to
TJ> actually diagnosing and fixing some of the myriad of problems that
TJ> crop up from the way Windows DLLs are different form Unix shared
TJ> libraries.

This sounds great.

Tom



More information about the Java mailing list