Solaris中C++編譯器的默認安裝路徑 - 2:
前面有讲,默认solaris 10g自动安装了C++編譯器。
见:http://space.itpub.net/26684/viewspace-244124
并且说明了C++編譯器为'/usr/sfw/bin/gcc',其实这里犯了个错误。由于刚开始琢磨C++, 没有搞清楚C++和C编译器的区别。
经过测试,'/usr/sfw/bin/gcc'其实为c的编译器,而C++的编译器为'/usr/sfw/bin/g++'。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26684/viewspace-261592/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26684/viewspace-261592/