Static linking considered harmful

Olivier Galibert galibert at pobox.com
Wed Nov 22 10:57:11 UTC 2006


On Wed, Nov 22, 2006 at 11:49:04AM +0100, Patrice Dumas wrote:
> That's not true for numerical models. I don't really underestand what you 
> are talking about. When I compile  a model with
> 
> gcc -static mymodel.o -lnumerical-lib
> 
> I don't care at all about system share libraries, this is not a shared 
> executable, so no trouble with new system shared libraries. And once more
> for numerical models iconv, locales, and nss are not really usefull.

Actually, given the incompetence of the glibc developpers, you do.
They use shared objects whether you want them or not.  You can't
resolve localhost for instance, which is quite annoying for X
applications.

  OG.




More information about the fedora-devel-list mailing list