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: semi-static linux binary


On Thu, 23 Oct 2003, Bart Locanthi wrote:
> So how big does this make the binary?

The standalone demo I produced was 2.2MB gzip'ed.  Probably half of that
is application code, vs. libgcj library stuff.

> And will this work for the various Class.forName() usages we do in Java?

Yes, *if* the classes are linked into the executable, or available
somewhere in bytecode.  You do have to take extra care with static
linking.

Jeff


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