[Bug c++/17694] g++ fails to link libstdc++ when linking libraries only
psfales at lucent dot com
gcc-bugzilla@gcc.gnu.org
Mon Sep 27 15:41:00 GMT 2004
------- Additional Comments From psfales at lucent dot com 2004-09-27 15:41 -------
Sorry, my cut/paste wasn't quite right in the original report. To clarify,
this works:
$ g++ tst.cpp -o tst
But this does not:
$ g++ -c tst.cpp
$ ar r libtst.a tst.o
$ g++ -L. -ltst -otst
Is this a bug?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17694
More information about the Gcc-bugs
mailing list