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: Size problem


On Sun, 12 Jan 2003, Erik Poupaert wrote:
> Really. No, thanks. That is no progress. Please, make it an optional option
> for the afficionados.

There's always -static.

> In my impression, shared objects (.so, .dll) are based on a deeply and
> widely spread misconception that such strategy would have advantages. It
> doesn't. In fact, none of the proposed advantages do ever materialize; on
> the contrary, they create the notorious dll hell.

You don't mention the advantages, so I'm not sure just what you're
objecting to, but the disk space savings and memory savings resulting
from shared libraries are definitely real.

Of course they don't help in every situation.  Splitting one executable
into a small .exe + .dll doesn't make any sense.  But if you application
consists of 20 executables which have 80% of their code in common, then
you really want shared libraries.

Fortunately, with gcj you can choose.

Jeff


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