首页 > 系统服务 > 详细

linux切换g++

时间:2017-06-04 19:32:59      阅读:275      评论:0      收藏:0      [点我收藏+]

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.4 50(优先级)

sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.4 50(优先级)

$ sudo update-alternatives --config gcc

$ sudo update-alternatives --config g++

linux切换g++

原文:http://www.cnblogs.com/Call-C/p/6941423.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!