This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj-compiled HelloWorld.exe size
Jeff Sturm <jsturm@one-point.com> writes:
> How small do you require? I suspect that with some careful hacking a 2x
> reduction of HelloWorld.exe could be achievable. However if you need
> 100KB standalone executables, Java is probably the wrong language for you.
I stripped a gcj-compiled HelloWorld by hand once, and it came down to
300kb statically linked (that includes bits of glibc).
- a