Static linking considered harmful

Dmitry Butskoy buc at odusz.so-cdu.ru
Wed Nov 22 16:24:15 UTC 2006


Alan Cox wrote:

>Far simpler, cleaner and more friendly will be to dump the static libraries
>into libfoo-devel-static packages which are not in the default install. That
>ensures people who need to can do static links and the default behaviour is
>that they are not there. The -static packages could even get dropped off the
>CD easily enough once the mechanisms for handling one srpm spitting out
>binary components for extras and core are sorted
>  
>
BTW, such a "-static" subpackages might be handled the same way as 
"-debuginfo". Consider some example of needed rpm macros (attached 
below), written one year ago when similar topic was discussed at 
fedore-extras-devel list.

Dmitry Butskoy
http://www.fedoraproject.org/wiki/DmitryButskoy
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: macros-staticlibs
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20061122/6a132928/attachment.ksh>


More information about the fedora-devel-list mailing list