Why does g++ require libstdc++.a? Why is it not the default?

后端 未结 0 333
清歌不尽
清歌不尽 2021-01-22 09:50

I had this problem, and the solution was to explicitly pass libstdc++.a to gcc, like the following:

/usr/local/gcc-10.2.0/bin/g++ -I/usr/local/gcc-10.2.0/include          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题