On Mon, 30 Jul 2012, Fabian Groffen wrote:

I think libtool only injects -lc if it was actually explicitly given, or
do you suspect it to do otherwise?

I think you are correct. However, once this junk makes it into a libtool .la file then it is preserved by libtool.

Your GCC seems to use GNU ld. My GCC build uses Solaris ld and therefore uses the collect2 wrapper, which might cause some change in behavior. My GCC builds (on Solaris 10 and OpenIndiana) do use GNU 'as' from binutils 2.22.

In my experience, using GNU ld on Solaris is dangerous. I have been bit by it every time I tried.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

Reply via email to