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 </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@ иногда превращается в рассадник ересей, как средневековая Франция. :) Или это в последней сборке нахимичили?