[distcc] Re: Re: Can't get distcc working properly, help!
Martin Pool
mbp at samba.org
Fri Jul 11 08:12:43 GMT 2003
On 10 Jul 2003, Luke Guest <lguest at bubball.com> wrote:
>
> "Wayne Davison" <wayned at users.sourceforge.net> wrote in message
> news:20030709155542.GA2541 at binome.blorf.net...
> > On Wed, Jul 09, 2003 at 04:02:31PM +0100, Luke Guest wrote:
> > > I'm using -MM (I ripped the %.d: %.cpp rule from the gmake manual). If
> > > there's a better way to generate dependencies, then I don't know it.
> >
> > It would help if you provided the rules out of your Makefile that are
> > failing. I found this in the GNU make info pages:
> >
> > %.d: %.c
> > $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
> > sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' <
> > $@.$$$$ > $@; \
> > rm -f $@.$$$$
>
> %.d: %.cpp
> @set -e; rm -f $@; \
> $(CXX) -MM $(CXXFLAGS) $(INCLUDES) $< > $@.$$$$; \
> sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
> rm -f $@.$$$$
-MM seems to work fine for me in 2.8:
$ distcc c++ -MM ./cases/hello.c
hello.o: cases/hello.c cases/foo.h
What *specifically* is going wrong?
--
Martin
More information about the distcc
mailing list