From: fiveight <fiv...@to...> - 2008-05-14 07:00:55
|
Thank you very much, DaveK. I decide to add "-lstdc++" manually with g++.exe. I think g++.exe should automatic link with stdc++ library whether there are object files in command line. Is this a bug? > Well, or you could just manually add '-lstdc++' to your link lines (or > perhaps even to the response file, depending what else uses it - I think ld > will be happy with -l options in there) or maybe you could just have a > completely empty dummy .o file (try "gcc -c -xc - < /dev/null -o dummy.o" to > see what I mean) that you give to g++ but it doesn't get used so it doesn't > matter if it's not in the response file? |