Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
安装gentoo时,在chroot后无法升级gcc到4.7
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
tsuui
n00b
n00b


Joined: 13 Apr 2012
Posts: 3

PostPosted: Fri Apr 13, 2012 3:33 am    Post subject: 安装gentoo时,在chroot后无法升级gcc到4.7 Reply with quote

我是i7的cpu,只有4.6和4.7的gcc能够比较完整地支持,于是emerge -u gcc,但是提示说所有的包都无需更新..
试了所有的rsync都没有能够直接到4.7的
stage3和portage里最高好像只能到gcc 4.5

是不是需要自行下载gcc的官方安装包进行安装呢?

ps: 我从http://gpo.zugaina.org/AJAX/Ebuild/2504743得到了一个.ebuild(google的功劳...)
但是没有什么把握,因为它的尺寸和其他ebuild比起来非常可疑 。。。
Back to top
View user's profile Send private message
heroxbd
Developer
Developer


Joined: 11 Dec 2011
Posts: 27
Location: Sendai, Japan

PostPosted: Tue Apr 24, 2012 2:27 am    Post subject: Reply with quote

欢迎使用 gentoo :)

因为有一个 grub 的问题导致 gentoo 的 gcc-4.6 一直没有被 unmask:

https://bugs.gentoo.org/show_bug.cgi?id=360513

gcc-4.7 还没有进来

https://bugs.gentoo.org/show_bug.cgi?id=409315

现在安装 gcc-4.6 可以
Code:

emerge --autounmask-write -av =gcc-4.6*


按提示进行就可以了,注意确认一下 gcc-4.6 编译出来的 grub 是否好使
Back to top
View user's profile Send private message
tsuui
n00b
n00b


Joined: 13 Apr 2012
Posts: 3

PostPosted: Thu Apr 26, 2012 12:52 pm    Post subject: Reply with quote

heroxbd wrote:
欢迎使用 gentoo :)

因为有一个 grub 的问题导致 gentoo 的 gcc-4.6 一直没有被 unmask:

https://bugs.gentoo.org/show_bug.cgi?id=360513

gcc-4.7 还没有进来

https://bugs.gentoo.org/show_bug.cgi?id=409315

现在安装 gcc-4.6 可以
Code:

emerge --autounmask-write -av =gcc-4.6*


按提示进行就可以了,注意确认一下 gcc-4.6 编译出来的 grub 是否好使


感谢回复!
之前不太了解gentoo的mask机制 :oops:
现在已经顺利使用了gcc4.7了,可惜不是4.6而且不是grub而是grub2不能帮忙测试了
现在还在学习配置xorg和gnome3
再次感谢
Back to top
View user's profile Send private message
heroxbd
Developer
Developer


Joined: 11 Dec 2011
Posts: 27
Location: Sendai, Japan

PostPosted: Wed May 02, 2012 3:28 pm    Post subject: Reply with quote

cool 祝贺祝贺!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum