Creating small binaries.

Linuxhippy linuxhippy@web.de
Fri Jun 10 16:15:00 GMT 2005


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



More information about the Java mailing list