libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linkat, LINK_FOLLOWS_SYMLINKS, and Solaris


From: Bob Friesenhahn
Subject: Re: linkat, LINK_FOLLOWS_SYMLINKS, and Solaris
Date: Mon, 27 Dec 2010 08:47:15 -0600 (CST)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

On Mon, 27 Dec 2010, Bruno Haible wrote:

This is not realistic: People are not distributing libraries in this
way, and are not even aware for which standard a library was built
and tested for. ("file libfoo.so" does not tell. You need
"nm libfoo.so | grep values".)

Since it seems that evidence of built type is stored in shared libraries on Solaris, is it reasonable for libtool (or even GNU ld or GCC) to inspect this data and warn about potential incompatibly at link time?

There are of course many other types of subtle incompatiblies which may occur when linking libraries.

Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]