Re: [javaCompiler-users] binary size
Status: Beta
Brought to you by:
soapy
From: Marco T. <mt...@gm...> - 2006-07-29 10:59:02
|
Hello Gabriel gabriel bianco wrote: > First, great work :-) Thank you :-) > Second, I'm not really interested (yet) in javaCompiler itself as I am > on the more up to date builds of gcc/gcj that comes with it... Ok, feel free to use it. Actually I assume that there are a couple of people out there more interested in the recent gcj/gcc build than the GUI-frontend. I can upload the removed utilities (bin/*: gcc, gij, ...) if you need them. I will do that (and list myself in the binaries section on gcc.gnu.org) in a next release anyway... Just removed them to make the download smaller. > I use gcj to make a DLL out of some Java code... Using Mohan's 4.0.2 > build (thisiscool.com) the DLL size is about 9M. > Using 4.1.1 (javaCompiler 0.7) it grows to 29M, and with 4.2.0 it's over > 40M... > > I would just like to know if there is something I can do to make it > smaller...? I think the source of the problem is described here in the first question: http://javacompiler.mtsystems.ch/frame_faq.html Do you strip the dll (gcj -s)? You might try upx as well (upx.sf.net). With it, I would expect the 29mb dll to shrink to ~10mb... regards Marco |