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"


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Montag, 17. Mai 2004 11:10 schrieb Martin Egholm Nielsen:
> > 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...

With the exception of java.awt.AWTException ...


Regards,
Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAqIfVWSOgCCdjSDsRAsQ6AJ9zsoT72mdN8IU+06rJN0dmI1rq6ACglozX
G0yvJkuE+9N/Sey2N45c3h4=
=qsX3
-----END PGP SIGNATURE-----


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