On Wed, 23 Mar 2005, Steve Ellcey wrote:

libtool certainly would not want to explicitly add '-lgcc' to a link line, my question is why libtool goes out of its way to remove '-lgcc' (by using the -nostdlib option). The issue of different compilers does not seem to apply here because we know we are using GCC (otherwise we couldn't add -nostdlib).

From the beginning, libtool took the approach that it knew best. It
would glean the list of libraries that the compiler would supply, extend the list, and then do the link using the system linker.

More recently, libtool has started to change its approach. For C++, linking is already done using the compiler. I believe that this has started to change for C as well. It is a gradual process since care must be taken to not break something which already works.

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