For usage of ccache at our company, here is one of our biggest hassles today:
even with the CCACHE_BASEDIR feature, users complain when gdb points to files
that no longer exist.
Independently, a couple of our engineers have proposed the following fix :
1. On a cache miss, generate preprocessor
On 2011-02-15 13:51, Mike Crowe wrote:
It might not be expected for cpp to be a symlink to ccache but with
ccache-v2.4 it did used to work so I found it easier for our build
system just to symlink everything in the toolchain directory to ccache.
Unfortunately between v2.4 (Debian Lenny
For usage of ccache at our company, here is one of our biggest hassles today:
even with the CCACHE_BASEDIR feature, users complain when gdb points to files
that no longer exist.
Independently, a couple of our engineers have proposed the following fix :
1. On a cache miss, generate
When making relative pathnames try and do so both before and after
calling realpath and pick the version that is the shortest. This helps
if the build starts from a path that contains a symlink and a Makefile
somewhere decides to use realpath to generate absolute paths.
It might be cheaper to do