This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Compiling "static" applications with SWT/GTK
Andrew Haley wrote:
> > However, the problem is *usability* as pointed out
> > earlier.
>
> It's been pointed out, but I do not believe that an executable
> packaged with a DSO is any less "usable" than a statically linked
> executable.
Compare the sizes of the statically linked (and
possibly stripped) executable and the dynamically
linked executable plus libgcj.so and you should
see what I mean.
Once again, this can possibly be improved upon
by breaking the monolithic libgcj.so into
smaller, relatively independent DSOs.
But till such a time, we should appreciate the
problem faced by developers of small applications
using GCJ and not abhor static linking the
way we seem to.
(Come to think of it, it's a Catch-22 like
situation - unless developers start depending
on libgcj.so, it won't be installed by
default on distributions, if at all, which
means that developers will be a bit reluctant
to make it a dependance...
On the other hand, being a part of GCC
increases its chance of being included by
default, the way libstdc++-v3.so is.)
Ranjit.
--
Ranjit Mathew Email: rmathew AT hotmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/