|
发表于 2005-2-4 18:03:58
|
显示全部楼层
Post by home_king
On the other hand, gcc version will be determined by profile itselft. As known, gcc-3.4 is an unstable version, and 2004.0, 2004.2, 2004.3, even 2005.0 do not use it! However, if you perfer 2004.0, 2004.2 to use gcc34, you can change the profile to gcc34-x86-2004.2.
According to my experience, 2004.3 is stable, using gcc-3.3 by default. IBOX-0.2 will base on 2004.3.
现在gcc-3.4.x已经颇为稳定了,我鼓励你试一试。
解开2004.3的stage1包并chroot:
- # env-update && source /etc/profile
- # emerge sync
- # emerge --nodeps --oneshot linux26-headers
- # echo 'sys-devel/gcc ~x86' >> /etc/portage/package.keywords
- # echo 'sys-libs/libstdc++-v3 ~x86' >> /etc/portage/package.keywords
- # emerge --nodeps --oneshot gcc
- # gcc-config <CHOST>-3.4.3
- # source /etc/profile
- 如有必要,可以修改一下make.conf
- # /usr/portage/scripts/bootstrap.sh
复制代码
也可以用个stage3包来做,具体方法可参考:http://forums.gentoo.org/viewtopic.php?t=274968 |
|