This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
size reduction
- From: "Hendrik Schreiber" <hendriks at nexthaus dot com>
- To: <java at gcc dot gnu dot org>
- Date: Fri, 21 Feb 2003 13:45:00 -0500
- Subject: size reduction
Hi Folks,
I am currently evaluating gcj. We are developing java software for small devices and consider switching to gcj instead of deploying a vm to the device. One of the biggest problems with the small device VMs is size... they are simply to big. However, I gave gcj a shot and compiled a simple HelloWorld on Win2000 with Cygwin, which produced a 2.1mb executeable with default parameters.
I am sure that the size of this can be reduced, but unfortunately I don't know a lot about gcc. Can someone please point me at ways to reduce the size? What can I expect as the minimum size for a 'standalone' executable?
Thanks - your help is appreciated!
-hendrik