Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
如何关闭gcc的Slot
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
feil
n00b
n00b


Joined: 14 Jun 2006
Posts: 4

PostPosted: Wed Jun 14, 2006 4:21 pm    Post subject: 如何关闭gcc的Slot Reply with quote

因为slot机制的关系,gcc的不同版本可以共存。
但是如果我不想它共存,应该怎么办?
我在不同的ebuild中試了设置SLOT="0",但好像不行。
不知道SLOT的机制到底是怎样实现的?
Back to top
View user's profile Send private message
feil
n00b
n00b


Joined: 14 Jun 2006
Posts: 4

PostPosted: Fri Jun 16, 2006 2:50 am    Post subject: Reply with quote

要修改两个地方:
一个是/var/db/pkg/sys-devel/相应gcc的SLOT,改为0
另一个是/usr/portage/sys-devel/gcc/相应gcc的ebuild,注意要在inherit后面加SLOT="0",否则没有效果,因为inherit的时候它会给SLOT赋值。
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