On Thu, 3 Mar 2005, Albert Chin wrote:

When using the compiler to perform the link and linking against
convenience libraries, is there any reason to link explicitly against
the extracted objects of the convenience libraries rather than just
the .a file? I'm running into a problem on IRIX with the SGI C++
compiler that is solved if I link the .a files. I see no reason why we
extract the convenience libraries libraries when linking against the
compiler v. the linker.

If we link against the .a file directly then the only objects which will get pulled in are the ones required to link (resolve symbols). This means that much of the library may be missing.


If we are building an application it is desirable to shed unnecessary objects but it is not desirable to do that for libraries.

Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


_______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to