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: help building custom libgcj


Am Montag, 19. Juli 2004 10:32 schrieb Martin Egholm Nielsen:
> >> Am I correct to "assume" that libgcj would be a little smaller
> >> without the GUI classes compiled in?
> >
> > I think it'll be between 0.5-0.75% in size without the graphics.
> > And in an embedded system, this is rather much... However, I'll
> > return with a more accurate size as soon as I succeed... :-)
>
> Having modified libjava/Makefile.am (and thereby indirectly
> Makefile.in) slightly, I now have a libgcj.so half the size
> compared to before. The stripped version is slightly less than
> 6mb., whereas it was 11mb. before. I've removed (almost) all
> graphics-related packages (see prior postings for "almost")...
>
> I've attached the patch for Makefile.am if anybody wants to see the
> diffs. Remember to run automake (from
> ftp://sources.redhat.com/pub/java/automake-gcj-1.4.tar.gz)
> in order to update Makefile.in.

Current HEAD doesnt have natEmbeddedWindow.cc anymore. This was 
replaced by java code.


Michael


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