All

Hi

I have made some modifications on Ccache, I thought that these modifications might be interesting to have in Ccache.


Commit 1: e3226f57d452c8af2e9db45bed6b4e225e2b92da 
                This commit makes Ccache compile on MINGW

Commit 2: 0775f6a39aa1031b70ec11eb2ac1ee961262b070 
                This commit makes Ccache compatible with the Sun Studio preprocessing output

Commit 3: 99cf5db51c1b4d74000fc8afa74b6b68a10054fe
                This commit adds a new Option CCACHE_SOURCEDIR, when the source directory is different than the output directory and they don't share a common root, in this case, the only way to have some cache hit is to support this new                 feature.

Commit 4: e3a53886865cc8c5e5e37a31b1ab2985ee197a23
                Dependant on commit 1 (Ccache compiling on MINGW), this commit make ccache compatible with the Microsoft Visual Studio Compiler “cl.exe”, using ccache with Microsoft Visual Studio requires to export CCACHE_MVSC


Please let me know what you think about my modifications, if you need more details please don’t hesitate to contact me: Jeromechebli@hotmail.com

Best regards

Jerome Chebli