This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

statically linked executable size


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]