This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Size of gcj binaries
- To: java-discuss at sourceware dot cygnus dot com
- Subject: Size of gcj binaries
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Sun, 16 Apr 2000 12:43:55 +1200
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 ]