| View previous topic :: View next topic |
| Author |
Message |
feil n00b

Joined: 14 Jun 2006 Posts: 4
|
Posted: Wed Jun 14, 2006 4:21 pm Post subject: 如何关闭gcc的Slot |
|
|
因为slot机制的关系,gcc的不同版本可以共存。
但是如果我不想它共存,应该怎么办?
我在不同的ebuild中試了设置SLOT="0",但好像不行。
不知道SLOT的机制到底是怎样实现的? |
|
| Back to top |
|
 |
feil n00b

Joined: 14 Jun 2006 Posts: 4
|
Posted: Fri Jun 16, 2006 2:50 am Post subject: |
|
|
要修改两个地方:
一个是/var/db/pkg/sys-devel/相应gcc的SLOT,改为0
另一个是/usr/portage/sys-devel/gcc/相应gcc的ebuild,注意要在inherit后面加SLOT="0",否则没有效果,因为inherit的时候它会给SLOT赋值。 |
|
| Back to top |
|
 |
|