Re: Ccache and distcc

From: Gonzalo Arana <gonzalo.arana@dont-contact.us>
Date: Mon, 19 Jun 2006 01:58:18 -0300

After applying configure-ccache-distcc-3.0.patch & running
bootstrap.sh, I get things in my Makefiles:
# grep ^CXX `find -name Makefile`
...
./lib/Makefile:CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
./lib/Makefile:CXXLD = $(CXX)
./lib/Makefile:CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD)
$(AM_CXXFLAGS) \
./lib/Makefile:CXX = /usr/bin/ccache g++
./lib/Makefile:CXXCPP = /usr/bin/ccache g++ -E
./lib/Makefile:CXXDEPMODE = depmode=gcc3
./lib/Makefile:CXXFLAGS = -g -O2
...

Note that CXXCOMPILE & CXXLINK get defined before CXX is set to
"/usr/bin/ccache g++". So, my compile lines are like this:
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H ...
rather than:
/bin/sh ../../libtool --tag=CXX --mode=compile /usr/bin/ccache g++
-DHAVE_CONFIG_H..

Any ideas on how can this get fixed?

On 6/12/06, Kinkie <kinkie-dev@kinkie.it> wrote:
> I'm attaching patches that enable support for ccache and distcc in both
> 2.6 and 3.0, via --enable flags (defaults to off)
>
> Please review and apply.
>
> Kinkie
>
>
>

-- 
Gonzalo A. Arana
Received on Sun Jun 18 2006 - 23:40:45 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jun 30 2006 - 12:00:02 MDT