[ccache] State of ccache on Windows

Michael Augustin maugustin at gmx.net
Fri Oct 11 13:16:08 MDT 2013

Hi CCache Developer,

what is the state of CCache on Windows? Is it working together with cmake and Unix Makefiles on Windows, without msys, but with cygwin?

I ask because I've created a patch some time ago and send it to this list. It make sure that all path are converted to forward slash paths just before comparing against already hashed data. It also make sure that absolute windows paths starting with driveletters are recognized as absolute paths - e.g. for replacing that part with CCACHE_BASEDIR value.

I've added my patch here again, but it's possible that it doesn't apply cleanly since I've posted it already at 20.06.2013.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-ccache-to-work-with-windows-paths-and-CCACHE_BAS.patch
Type: application/octet-stream
Size: 3163 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/ccache/attachments/20131011/6bc9b436/attachment.obj>
-------------- next part --------------

Kind regards,

Am 16.09.2013 um 22:55 schrieb Michael Augustin <maugustin at gmx.net>:

> Hi Patrick,
> I used slashes because of CMake. It doesn't like backslashes in path names. 
> Windows is able to deal with both, but since software development should work cross platform, it's very useful to stick with one format. CMake/MinGW/Cygwin - all useful tools on Windows work better with slashes in pathnames.
> Kind regards,
> Michael
> _______________________________________________
> ccache mailing list
> ccache at lists.samba.org
> https://lists.samba.org/mailman/listinfo/ccache

More information about the ccache mailing list