This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/5235] -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic combo fails
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Aug 2003 23:54:03 -0000
- Subject: [Bug other/5235] -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic combo fails
- References: <20020101140600.5235.swansma@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5235
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
------- Additional Comments From pinskia at physics dot uc dot edu 2003-08-02 23:54 -------
You have to do: "gcc pr5235.cc -Wl,-Bstatic -lstdc++ -lsupc++ -Wl,-Bdynamic" and not use
g++ and supply both -lstdc++ and -lsupc++ inside the static part.