2013年2月14日 星期四

GCC 更新

本篇是給 Gentoo 使用

當在更新 Gentoo 時,如果遇到需要更新GCC

請先更新GCC

在更新其他

GCC更新方式

emerge -u gcc

gcc-config –l 
# 顯示系統所有GCC
[1] i686-pc-linux-gnu-4.4.5 *
[2] i686-pc-linux-gnu-4.5.3
gcc-config 2 
#切換GCC
env-update && source /etc/profile
更新系統環景設定
emerge --oneshot libtool
更新libtools
revdep-rebuild --library libstdc++.so.5
重新聯結library
完成

追蹤者