Size of gcj binaries

Bryce McKinlay bryce@albatross.co.nz
Sat Apr 15 17:42:00 GMT 2000


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 ]


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /