This is the mail archive of the java-discuss@sourceware.cygnus.com 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]

Size of gcj binaries


I've just noticed that recent versions of the compiler have reduced the
size of a Java "hello world" binary by more than 50%:

$ /usr/local/gcc-2.95.2/bin/gcj Hello.java --main=Hello -o hello_2.95.2
$ /usr/local/gcc/bin/gcj Hello.java --main=Hello -o hello_2.96
$ ls -l hello*
-rwxrwxr-x    1 bryce    bryce      139142 Apr 16 12:40 hello_2.95.2
-rwxrwxr-x    1 bryce    bryce       67379 Apr 16 12:40 hello_2.96

Very cool!

 [ bryce ]



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