This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug libgcj/32619] -static-libgcj includes entire gnu classpath (>30MB executable from 95byte source)



------- Comment #4 from woody77 at gmail dot com  2007-07-04 19:22 -------
Marco,

thanks for the pointer to JNC.  I'm targeting an embedded platform, with only
32MB of storage, so reducing the classes needed is mandatory.

>From the size of the executable, it looked like the linker had just failed to
prune uncalled code.  (since libgcj is ~30MB on it's own).

Is there a way to pull a report from the linker to determine what
methods/classes are left behind and which are included?  I did a check with
strings and saw all sorts of classes that I'm sure I'm not using
(java.util.zip.ZipInputStream for instance).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32619


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