<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jan 19, 2017 at 4:44 PM, David Lind <span dir="ltr"><<a target="_blank" href="mailto:davidklind@gmail.com">davidklind@gmail.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div style="word-wrap:break-word">That’s not the issue. The issue is telling ccache where to place it’s cache files. If I compiles for toolchain X, Y and X, I need to set CCACHE_DIR accordingly. Otherwise the cache will be useless.<div><br></div></div></blockquote><div><br></div><div><a href="https://ccache.samba.org/manual.html#_common_hashed_information">https://ccache.samba.org/manual.html#_common_hashed_information</a><br><br></div><div>It seems that ccache includes stuff specific to the exact compiler when calculating its hashes, which means as long as your CCACHE_DIR is big enough, it will keep all the object code straight (and separated by compiler)<br> </div></div></div></div>