This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/17694] g++ fails to link libstdc++ when linking libraries only


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]