On Wed, 3 Aug 2005, Ralf Corsepius wrote:

On Wed, 2005-08-03 at 13:57 +0200, Graham Leggett wrote:
Hi all,

What method needs to be used to tell libtool to link to stdc++ that
belongs to the compiler being run?
No method at all. libstdc++ is an internal library of g++ you are not
supposed to specify explicitly.

The issue you describe, indicates a miss-configured gcc or user setup.

There is a long-standing GCC bug (ever since GCC started to use libtool) on the Solaris platform in which the paths to the uninstalled compiler libraries are recorded in the libstdc++.la file. These paths end up being used. So in order for a GCC install to be properly usable, the compiler build directory needs to be moved or removed. The cruft in the .la file remains. This seems to be a bug in the modified libtool that GCC uses.

So from the get-go GCC is miss-configured under Solaris. :-(

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