阅读背景:

ubuntu下 GCC编译程序出现 undefined reference to `std::ios_base::Init::Init()'问题

来源:互联网 

网上的解释是:“ you need to add -lstdc++, or use 'g++' rather than 'gcc' as your driver program.”,也就是说如果想要使用g++编译程序的话,那么链接时需要添加“-Istdc++”。网上的解释是:“ you need to add -lstdc++, or use 'g++'




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: