|
eix gcc可以看到下面的信息:
sys-devel/gcc
Available versions:
(2.95) *2.95.3-r9 ~*2.95.3-r10!s
(3.1) *3.1.1-r2
(3.2) **3.2.2!s *3.2.3-r4
(3.3) ~3.3.6-r1!s
(3.4) 3.4.6-r2!s
(4.0) ~*4.0.4!s
(4.1) 4.1.2!s
(4.2) ~4.2.4-r1!s
(4.3) ~4.3.3-r2!s 4.3.4!s ~4.3.5!s ~4.3.6-r1!s
(4.4) ~4.4.2!s ~4.4.3-r3!s 4.4.4-r2!s 4.4.5!s ~4.4.6-r1!s
(4.5) ~4.5.1-r1!s ~4.5.2!s 4.5.3-r1!s
(4.6) [M]**4.6.0!s [M]**4.6.1-r1!s
{altivec bootstrap boundschecking build d doc fixed-point fortran gcj go graphite gtk hardened ip28 ip32r10k java libffi lto mudflap multilib multislot n32 n64 nls nocxx nopie nossp nptl objc objc++ objc-gc openmp static test vanilla}
Installed versions: 4.5.3-r1(4.5)!s(18时52分32秒 2011年10月20日)(fortran mudflap multilib nls nptl openmp -altivec -bootstrap -build -doc -fixed-point -gcj -graphite -gtk -hardened -libffi -lto -multislot -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla)
Homepage: http://gcc.gnu.org/
Description: The GNU Compiler Collection
=============================================
里面有4.6.1,但不知道被啥东西屏蔽了
在etc/portage/package.unmask增加下面的内容:
sys-devel/gcc4.6.1-r1
或
sys-devel/gcc**4.6.1-r1
然后emerge -pv gcc
都会提示--- Invalid atom in /etc/portage/package.unmask
请问该如何操作才能安装gcc4.6.1?
多谢帮助 |
|