[clc-devel] RFC: wrapper for ccache and distcc

Johannes Winkelmann jw at tks6.net
Wed Sep 1 14:35:09 UTC 2004


On Wed, Sep 01, 2004 at 17:15:01 +0300, Jukka Heino wrote:
> >Hi,
> >
> >A work collegue of mine brought to my attention that building tcl fails
> >when using ccache, and I realized that the error is quite simple (not to
> >say stupid ;-)); ccache comes with wrappers for gcc and g++ which just
> >call 'ccache gcc $*' or 'ccache g++ $*'. Unfortunately this creates a
> >problem when the Makefile calls the wrapper like this:
> >  ccache-gcc [...] -DTCL_WIDE_INT_TYPE=long\ long
> I might be wrong, but wouldn't changing $* to "$@" (notice the quotes)
> fix the problem? I had a similar problem with soapbox before.
Indeed, that works! I tried "$*" before but this wouldn't work... thanks
for the tip,

Johannes Winkelmann              mailto:jw at tks6.net
Bern, Switzerland                http://jw.tks6.net

More information about the crux-devel mailing list