Hi Martin, Thanks for all your answers. Is there a way to tell ccache to not take into account some part of the command line into the hash like for example Scons do:
($c:\$)cc ... In this case, in Scons, the "c:\" path is not part of the hash. Thanks, Sebastien. -----Message d'origine----- De: Martin Pool [mailto:[EMAIL PROTECTED] Date: jeudi 16 septembre 2004 05:30 À: Perochon Sebastien Cc: [EMAIL PROTECTED] Objet: Re: [distcc] ccache & distcc On Mon, 6 Sep 2004 11:10:27 +0200, Perochon Sebastien <[EMAIL PROTECTED]> wrote: > I have compile my library with ccache (without distcc). > Then, to test it, I have clean my directory then re-compile the library. It > is working very well. > So, I decide to add distcc in the chain. > I set "CCACHE_PREFIX=distcc", then I clean again my directory and re-compile > the library... > But ccache doesn't use the already cached files and recompile them again. > Setting "CCACHE_PREFIX" with distcc seems to make differents files for > ccache... Adding a compiler prefix command changes the hash; things compiled without distcc are not considered the same as things compiled with it. See the ccache source. -- Martin __ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/distcc