Gentoo LinuxでGCCをアップデートする際の手順
# emerge -u gcc
# gcc-config -l
[1] x86_64-pc-linux-gnu-4.4.7
[2] x86_64-pc-linux-gnu-4.5.4 *
[3] x86_64-pc-linux-gnu-4.6.3
# gcc-config 3
* Switching native-compiler to x86_64-linux-gnu-4.6.3 ...
>>> Regenerating /etc/ld.so.cache...
* If you intend to use the gcc from the new profile in an already
* running shell, please remember to do:
* . /etc/profile
# env-update && source /etc/profile
リンク
GCC, the GNU Compiler Collection – GNU Project – Free Software Foundation (FSF)
https://gcc.gnu.org/