[sisyphus] Re: XFree86-4.3.0
Alexey Tourbin
at на altlinux.ru
Вс Май 4 23:41:16 MSD 2003
On Wed, Apr 30, 2003 at 01:38:37PM +0400, Dmitry Alexeyev wrote:
> 3) просто подправить ссылки в /etc/alternatives
Нужно сделать так:
# ln -sf ccache /usr/bin/cc
# ln -sf ccache /usr/bin/gcc
# ln -sf ccache /usr/bin/c++
# ln -sf ccache /usr/bin/g++
# ln -sf gcc /etc/alternatives/cc
# ln -sf c++ /etc/alternatives/g++
# cat <<EOF >/etc/profile.d/ccache.sh
#!/bin/sh
export CCACHE_PATH=/etc/alternatives
EOF
# chmod +x /etc/profile.d/ccache.sh
$ . /etc/profile
$ gcc --version
i586-alt-linux-gcc (GCC) 3.2.1 (ALT Linux, build 3.2.1-alt2)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ realpath `which gcc`
/usr/bin/ccache
$
> ccache ломает все ссылки почему-то. Иногда вместо i586-alt-linux-gcc почему-то
> делается попытка запускать i686-alt-linux-gcc... /lib/cpp ссылка вообще
> сломана.
Как ccache может ломать ссылки? Почему у всех ломает, а у меня не
ломает? Я не могу. Sisyphus@ иногда превращается в рассадник ересей,
как средневековая Франция. :)
Или это в последней сборке нахимичили?
----------- следущая часть -----------
Было удалено вложение не в текстовом формате...
Имя : отсутствует
Тип : application/pgp-signature
Размер : 189 байтов
Описание: отсутствует
Url : /pipermail/sisyphus/attachments/20030504/41b75dfb/attachment.bin
Подробная информация о списке рассылки Sisyphus