public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/12179] New: Static link failure: cannot find -lstdc++
@ 2003-09-05  8:06 peturr02 at ru dot is
  2003-09-05  8:09 ` [Bug libstdc++/12179] " peturr02 at ru dot is
                   ` (22 more replies)
  0 siblings, 23 replies; 24+ messages in thread
From: peturr02 at ru dot is @ 2003-09-05  8:06 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12179

           Summary: Static link failure: cannot find -lstdc++
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: peturr02 at ru dot is
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu

When the -static flag is passed to g++, linking fails with the message

/usr/bin/ld: cannot find -lstdc++

This is because g++ is looking for the libraries in:

$PREFIX/lib/gcc/i686-pc-linux-gnu/3.4/

But libstdc++.a and libsupc++.a are in:

$PREFIX/lib/gcc-lib/i686-pc-linux-gnu/3.4/

GCC was configured with --enable-version-specific-runtime-libs.


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2004-02-08  1:37 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-05  8:06 [Bug libstdc++/12179] New: Static link failure: cannot find -lstdc++ peturr02 at ru dot is
2003-09-05  8:09 ` [Bug libstdc++/12179] " peturr02 at ru dot is
2003-09-05  8:11 ` peturr02 at ru dot is
2003-09-05 14:50 ` [Bug libstdc++/12179] [3.4 Regression] Static link failure: cannot find -lstdc++ when --enable-version-specific-runtime-libs pinskia at gcc dot gnu dot org
2003-09-27 20:26 ` [Bug bootstrap/12179] [3.4 Regression] --enable-version-specific-runtime-libs put files in the wrong place pinskia at gcc dot gnu dot org
2003-10-18  7:25 ` pinskia at gcc dot gnu dot org
2003-11-10  8:03 ` pinskia at gcc dot gnu dot org
2003-11-10 13:36 ` v dot haisman at sh dot cvut dot cz
2003-11-10 16:42 ` pinskia at gcc dot gnu dot org
2004-01-10 23:20 ` neroden at gcc dot gnu dot org
2004-01-13 12:23 ` v dot haisman at sh dot cvut dot cz
2004-01-15 18:42 ` mrdizzy38 at hotmail dot com
2004-01-15 18:56 ` giovannibajo at libero dot it
2004-01-15 19:00 ` giovannibajo at libero dot it
2004-01-15 20:52 ` geoffk at gcc dot gnu dot org
2004-01-17  8:46 ` [Bug bootstrap/12179] [3.4/3.5 " dhazeghi at yahoo dot com
2004-01-17 10:30 ` v dot haisman at sh dot cvut dot cz
2004-01-17 11:53 ` v dot haisman at sh dot cvut dot cz
2004-01-21 18:08 ` dhazeghi at yahoo dot com
2004-01-21 18:12 ` pinskia at gcc dot gnu dot org
2004-02-04 22:33 ` pinskia at gcc dot gnu dot org
2004-02-05 23:20 ` cvs-commit at gcc dot gnu dot org
2004-02-05 23:20 ` geoffk at gcc dot gnu dot org
2004-02-08  1:37 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).