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: Shrinking/stripping libgcj for superfluous "classes"


Martin> In case I don't want to have my embedded application static
Martin> linked, is there a way to strip the libgcj for "classes" I
Martin> certainly do not use - e.g. "java.awt.*", "javax.swing.*",
Martin> etc.?
Tom> Right now, edit the Makefile and rebuild.  Look back through the
Tom> list archives, this topic has come up a few times recently.
Ok, that's a possibility :o)
I was hoping it might be possible using a tool similar to "strip" that worked directly on the libgcj.so-file?!


Tom> Really it ought to be a FAQ -- anybody want to write a FAQ entry
Tom> for it?
Something else that would really help doing this would be some kind of
dependency tracker, that would help resolving what packages depend on
others. Because otherwise it's mostly guessing and trial-and-error.
That's right - although stripping off java.awt.* and javax.swing.* could be done without worries...

I didn't find anything in the archives about this - but that may be because my hosting news-server only has an archive back to march 2004. Do you know of an available news-server hosting more than this?

Regards,
 Martin



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