This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCC 4.1: Buildable on GHz machines only?
Linuxhippy wrote:
Since libgcj isn't binary compatible at all over versions, it would be
great if it would be possible to deploy statically linked
runs-out-of-the-box executables.
One doesn't follow from the other. At least on most GNU/Unix/Linux
systems you can easily bundle an application with its private shared
library(ies). Yes, the resulting combination probably takes up more
disk space and possibly memory than a statically linked executable,
but on a desktop/laptop/server-class machine the difference shouldn't
be a big deal. And as soon as you have more than one application in
the "bundle", the shared library wins.
In any case, we're talking about changing the *default*. I think we
agree that for *some* environments and applications, it is useful to
use static linking, and it would be even more useful to have tools to
allow minimizing size of executables. But static linking is not
something we want to encourage for normal aplications.
--
--Per Bothner
per@bothner.com http://per.bothner.com/