摘要: 平台:ubuntu12.04LTS,boost1.531、应该用g++编译,而不是cc,本来想亲自解释一下的,然后发现有人写过了,看这里,简单来说,cc是指向gcc的符号链接,而gcc不能处理C++的linking.所以通常编译命令就是g++ myfile.cpp -o myfile,偶尔要链接额外的库,见第2条 还有一段觉得讲得不错(http://stackoverflow.com/questions/1516609/difference-between-cc-gcc-and-g)CCis an environment variable referring to the system' 阅读全文
posted @ 2013-05-30 16:41 ttang 阅读(462) 评论(0) 推荐(0) 编辑