ons 2006-08-16 klockan 01:36 +0200 skrev Kinkie:
> Hi all,
> this is a second attempt at getting autoconf/automake to understand
> our desire to get builds faster, and this attempt works for me.
What I don't quite get is why we should need to have configure look for
ccache? It's trivial to do this outside configure, and many
installations of ccache already sets up the system in such manner that
ccache is used by default without the need to do anything.
For example ccache on Fedora Core sets up a new PATH element which
activates ccache on all the supported compilers, and this PATH element
is added in the default user profile automatically. Nothing needs to be
done in any application or makefile to use ccache, it's all automagic.
$ echo $PATH
/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/henrik/bin
$ ls -l /usr/lib64/ccache/
totalt 0
lrwxrwxrwx 1 root root 15 30 maj 13.07 c++ -> /usr/bin/ccache
lrwxrwxrwx 1 root root 15 30 maj 13.07 cc -> /usr/bin/ccache
lrwxrwxrwx 1 root root 15 30 maj 13.07 g++ -> /usr/bin/ccache
lrwxrwxrwx 1 root root 15 30 maj 13.07 gcc -> /usr/bin/ccache
lrwxrwxrwx 1 root root 15 30 maj 13.07 gcc32 -> /usr/bin/ccache
lrwxrwxrwx 1 root root 15 30 maj 13.07 x86_64-redhat-linux-c++ -> /usr/bin/ccache
lrwxrwxrwx 1 root root 15 30 maj 13.07 x86_64-redhat-linux-g++ -> /usr/bin/ccache
lrwxrwxrwx 1 root root 15 30 maj 13.07 x86_64-redhat-linux-gcc -> /usr/bin/ccache
lrwxrwxrwx 1 root root 15 30 maj 13.07 x86_64-redhat-linux-gcc32 -> /usr/bin/ccache
Regards
Henrik
This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:03 MDT