libstdc++/10633: linking error with stdc++ library

Wolfgang Bangerth
Tue May 6 14:22:00 GMT 2003

> g++ -lc -lstdc++ -shared test.o -o

There's no need for the two -l... switches. If you drop them, everything 
works fine. g++ will do all this stuff for you, there's no reason to make 
it more complicated than necessary!


Wolfgang Bangerth              email:  

More information about the Gcc-bugs mailing list