This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: semi-static linux binary
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Bart Locanthi <bart at sabl dot com>
- Cc: java at gcc dot gnu dot org
- Date: Thu, 23 Oct 2003 13:28:33 -0400 (EDT)
- Subject: 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