Getting started with merged GCJ
David Daney
ddaney@avtrex.com
Wed Jan 31 16:44:00 GMT 2007
Tom Tromey wrote:
> Oops... I think I forgot to CC the list on the first try.
>>>>>>> "Jim" == Jim Mayer <jim@pentastich.org> writes:
>> Jim> Caused by: java.lang.ClassNotFoundException:
> Jim> org.objectweb.asm.ClassVisitor not found in
>> Jim> I made the "tools.zip" by running:
> Jim> zip -r /opt/gcc-bootstrap/lib/tools.zip gnu
> Jim> from the "trunk/libjava/tools/classes" directory.
>> You also need the classes from trunk/libjava/tools/asm/
>> Jim> I was happy to see my little "Generic World" program run, though I was a
> Jim> bit shocked at the 41 megabytes (using -static-libgcj, 13 megabytes
> Jim> stripped) executable file:
>> Yeah, -static-libgcj can really hurt.
>> 13M ... I don't know whether that is the expected size or not. I
> basically never make or look at static executables.
That sounds about right. You don't say if that is the stripped size,
but it is very large even stripped. If you make a few changes to
libgcj, the size can be drastically reduced. There is a ton of stuff
dragged in by URLClassLoader for example.
David Daney
More information about the Java
mailing list