statically linked executable size
Marco Trudel
mtrudel@gmx.ch
Sat Jul 1 10:19:00 GMT 2006
Hello list
I noticed that a simple System.out.println() application will have
different executable sizes when compiling with different gcj versions
(althought it does exactly the same and needs exactly the same java
classes):
gcj 3.4.5: 2.88mb (libgcj-3.4.5.jar is 5.09mb)
gcj 4.1.1: 5.45mb (libgcj-4.1.1.jar is 6.02mb)
gcj 4.2.0: 8.88mb (libgcj-4.2.0.jar is 8.11mb)
What is the reason for it? There were already discussions in the list
about it, but I haven't found an explanation...
Are there more/all classes compiled into the executables as libgcj grows?
regards
Marco
More information about the Java
mailing list