This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Creating small binaries.
- From: Linuxhippy <linuxhippy at web dot de>
- To: java at gcc dot gnu dot org
- Date: Fri, 10 Jun 2005 18:16:14 +0000
- Subject: Re: Creating small binaries.
- References: <777da1740506100241358a2a09@mail.gmail.com>
Hi,
first of all I hope gcj hackers wont kill me, I love GCJ but for
embedded use its sometimes a bit to bloated :(
this gives a 26MB binary, stripping it gives 3.8MB.
Puh, 3,8 is really heavy. Last time I tried (gcc 3.3) it was 2.1mb on i386.
I would recommend jcvm which is also based on classpath but generates
c-code out of java which can be later compiled with gcc (and only with gcc).
Its much more efficient in terms of size, but I have no data about
performance.
Good luck, lg Clemens