Kenytt,

I got around this problem (also with distcc) by making my own package that places the ccache binary in /usr/local/lib/ccache/ as gcc (as suggested by the ccache documentation). Then changing the build path in rpm's configuration file to be /usr/local/lib/ccache:/usr/local/bin.

I tried changing the line to be "ccache gcc" as you said, to no avail. I also tried creating a shell script such as

#!/bin/sh

ccache gcc $*

and changing "gcc" to that script to no avail. Most of the problem lies in the fact that rpmtool won't like it or won't think that it's gcc.

--
Simon Kuhn
UNIX Admin

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to