[ccache] [PATCH] CCACHE_BASEDIR and dependency file creation (-MD/-MMD)

2012-07-27 Thread Lalit Chhabra
Hi, I am creating dependency files with my gcc compile, with something like: gxx -c -MMD -MF _dep_file.d -o _out_file.o and am using CCACHE_BASEDIR to share the cache across different work boxes. Both _dep_file.d and _out_file.o are absolute paths and start with CCACHE_BASEDIR.

Re: [ccache] ccache problem with CCACHE_BASEDIR

2012-07-27 Thread Joel Rosdahl
Hi, It seems you forgot to make cwd_canonicalized static? Currently, it has no effect. Also, the test suite crashes with your patch. I recommend running the test suite during development even for minor patches (and for bonus points: add new tests for the new functionality :-)). The crash happens

[ccache] [PATCH] add support for '@' parameters

2012-07-27 Thread Andrew Boie
These indicate to the compiler that additional command line options should be read from a text file. If encountered, read the file, tokenize any arguments, and if any are found, do an in-place replacement of the '@' parameter with the arguments within the file. Signed-off-by: Andrew Boie