Re: [clc-devel] RFC: wrapper for ccache and distcc
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. // Jukka
Hey, 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 -- Johannes Winkelmann mailto:jw@tks6.net Bern, Switzerland http://jw.tks6.net
participants (2)
-
Johannes Winkelmann
-
Jukka Heino