Static linking considered harmful

Alan Cox alan at redhat.com
Wed Nov 22 11:58:44 UTC 2006


On Wed, Nov 22, 2006 at 10:29:44AM +0000, Andrew Haley wrote:
>  > Not only. There are cases when all those issues are moot, a prominent one 
>  > being for numerical models. Compiling models statically makes it possible
>  > to run them on any other linux (including different fedora version) box 
>  > without recompiling. So all the libraries that can be used for numerical 
You can bundle sets of dynamic libraries with an application

>  > computations should have static libraries kept.
> 
> This seems like a non sequitur.  What's special about numerical
> computations?

One reason there for static is to avoid the elf register overhead, but that
isn't so bad nowdays




More information about the fedora-devel-list mailing list