|
|
On Sat, 03 Aug 2002 06:38:36 -0400, Warp wrote:
> Micha Riser <mri### [at] gmxnet> wrote:
>> I just wondered why the binary had to be 6MB big when the 3.1 was only
>> around 1MB. I see now this comes mainly from the '-static' flag for the
>> compiler. Without it is only around 1.5MB. Also the 6MB can be reduced
>> to about 3MB when using '-static -s'.
>
> I don't even understand what is the '-static' doing there. It only
> causes
> linkage problems (because not every library necessarily has a static
> version; if you don't specify the type of linkage, the one available is
> used, be it static or dynamic). And as noted, it also enormously grows
> the binary.
I was making a static binary for the official release, since that's more
likely to run on a wide variety of platforms. I need to tweak the
configure script so that dynamic linking is the default, though. I'd
meant to do that but forgot. It will be fixed in the next version.
-Mark Gordon
Post a reply to this message
|
|