This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Creating small binaries.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]