Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew STUBBS <andrew.stubbs@st.com>
To: Tom Tromey <tromey@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: RFA: automatic dependency tracking
Date: Thu, 31 Jul 2008 10:48:00 -0000	[thread overview]
Message-ID: <48919839.60706@st.com> (raw)
In-Reply-To: <m3fxq2rilz.fsf@fleche.redhat.com>

Tom Tromey wrote:
> +# Override the settings from the main Makefile.
> +@GMAKE_TRUE@ifeq ($(DEPMODE),depmode=gcc3)
> +# Note that we put the dependencies into a .Tpo file, then move them
> +# into place if the compile succeeds.  We need this because gcc does
> +# not atomically write the dependency output file.
> +@GMAKE_TRUE@override COMPILE.post = -c -o $@ -MT $@ -MMD -MP \
> +@GMAKE_TRUE@	-MF $(DEPDIR)/$(basename $(@F)).Tpo
> +@GMAKE_TRUE@override POSTCOMPILE = @mv $(DEPDIR)/$(basename $(@F)).Tpo \
> +@GMAKE_TRUE@	$(DEPDIR)/$(basename $(@F)).Po
> +@GMAKE_TRUE@else
> +@GMAKE_TRUE@override COMPILE.pre = source='$<' object='$@' libtool=no \
> +@GMAKE_TRUE@	DEPDIR=$(DEPDIR) $(DEPMODE) $(depcomp) $(CC)
> +# depcomp handles atomicity for us, so we don't need a postcompile
> +# step.
> +@GMAKE_TRUE@override POSTCOMPILE =
> +@GMAKE_TRUE@endif

Has this been tested without depmode=gcc3 ?

I haven't tried it, but I can't find where $(depcomp) is set.

Andrew


  parent reply	other threads:[~2008-07-31 10:48 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-21 22:14 Tom Tromey
2008-07-30 17:53 ` Pedro Alves
2008-07-30 19:12   ` Tom Tromey
2008-07-31 18:51     ` Pedro Alves
2008-07-31 10:48 ` Andrew STUBBS [this message]
2008-07-31 12:16   ` Tom Tromey
2008-07-31 14:43   ` Tom Tromey
2008-08-02 20:34     ` Thiago Jung Bauermann
2008-08-07  5:50 ` Ralf Wildenhues
2008-08-07 13:47   ` Tom Tromey
2008-08-07 13:53     ` Daniel Jacobowitz
2008-08-07 19:17     ` Ralf Wildenhues
2008-08-07 20:07       ` Tom Tromey
2008-08-07 20:46         ` Ralf Wildenhues
2008-08-07 20:51           ` Tom Tromey
2008-08-07 20:17       ` Daniel Jacobowitz
2008-08-07 20:22         ` Tom Tromey
2008-08-07 20:46           ` Ralf Wildenhues
2008-08-07 20:49             ` Tom Tromey
2008-08-07 20:59       ` Daniel Jacobowitz
2008-08-07 22:51         ` Ralf Wildenhues
2008-08-08 14:37           ` Thiago Jung Bauermann
2008-08-08 15:18             ` Tom Tromey
2008-08-08 15:24               ` Ralf Wildenhues
2008-08-08 17:27                 ` Tom Tromey
2008-08-08 17:35               ` Daniel Jacobowitz
2008-08-07 17:09   ` Tom Tromey
2008-08-07 19:23     ` Ralf Wildenhues

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48919839.60706@st.com \
    --to=andrew.stubbs@st.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox