[ccache] problems with buildworld & gcc45 on ports

Joel Rosdahl joel at rosdahl.net
Thu Jun 23 14:40:25 MDT 2011


Hi,

On 2011-06-21 20:29, Beeblebrox wrote:
> [...FreeBSD-specific questions...]

You will will probably get better answers to these questions on some
FreeBSD list. At least I don't know much about FreeBSD. I have one
comment, though:

> 2. Is is necessary to include cpp in the 1st conditional, or does ccache
> detect the correct pre-processor on its own from here? (I have created the
>  symlinks)
> CPP:=${CPP:cpp45,/usr/local/libexec/ccache/world/cpp45,1}

ccache only understands how to cache object files when invoked as the
compiler -- using ccache with cpp will only result in a slightly slower
build. So: it's not necessary and not recommended.

Here are some general tips on troubleshooting ccache:
http://ccache.samba.org/manual.html#_troubleshooting

-- Joel


More information about the ccache mailing list