|
From: | Bob Friesenhahn |
Subject: | Re: libtool/ltmain.sh pulling in wrong stdc++ |
Date: | Wed, 3 Aug 2005 13:46:44 -0500 (CDT) |
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 address@hidden, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
[Prev in Thread] | Current Thread | [Next in Thread] |