POV-Ray : Newsgroups : povray.unix : Compiling 3.5 source for Solaris 5.8 / 8 : Re: Compiling 3.5 source for Solaris 5.8 / 8 Server Time
28 Jul 2024 16:30:12 EDT (-0400)
  Re: Compiling 3.5 source for Solaris 5.8 / 8  
From: Mark Gordon
Date: 3 Aug 2002 07:48:07
Message: <pan.2002.08.03.11.52.08.400017.2129@povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.