From: Tom Tromey <tromey@redhat.com>
To: Mike Frysinger <vapier@gentoo.org>
Cc: gdb-patches@sourceware.org, toolchain-devel@blackfin.uclinux.org
Subject: Re: [PATCH] sim: generate build dependencies on the fly
Date: Tue, 12 Jul 2011 19:49:00 -0000 [thread overview]
Message-ID: <m3hb6rgu18.fsf@fleche.redhat.com> (raw)
In-Reply-To: <1310436152-8693-1-git-send-email-vapier__46811.2245122485$1310436164$gmane$org@gentoo.org> (Mike Frysinger's message of "Mon, 11 Jul 2011 22:02:32 -0400")
>>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:
Mike> Lift the code that GDB is using to generate dependencies on the
Mike> fly and port it over to the sim. Now people shouldn't have to
Mike> manually maintain these in their Makefile's (for the most part).
Thanks. I think it is a good idea.
Mike> Generated header files still need to be manually tracked.
Why is that?
Mike> -VPATH = @srcdir@
Mike> +VPATH = @srcdir@:$(srccom)
The Autoconf manual lists various problems with VPATH.
You can't use variable references in VPATH.
Also VPATH won't work properly with built sources. I'm not sure if your
patch relies on that or not.
Finally I thought there was some problem with multiple entries in VPATH,
but I cannot find that in the docs. Perhaps it is one of those ancient
incorrect memories. It would bear testing with a non-GNU make.
Mike> +depcomp = $(SHELL) $(srcdir)/../depcomp
This seems like the wrong directory to me.
I would have expected $(srcdir)/../../depcomp.
Tom
next parent reply other threads:[~2011-07-12 19:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1310436152-8693-1-git-send-email-vapier__46811.2245122485$1310436164$gmane$org@gentoo.org>
2011-07-12 19:49 ` Tom Tromey [this message]
2011-07-12 20:59 ` Mike Frysinger
[not found] ` <CAJaTeTqM-Kr3Nrr4JKyfpys7=+aWk_YJCA+=AensJyBTUvg4dQ__24418.5384632603$1310503395$gmane$org@mail.gmail.com>
2011-07-12 21:15 ` Tom Tromey
2011-07-13 2:04 ` Mike Frysinger
[not found] ` <CAJaTeTpoc=UUiePTTBNiRA=dREKdYABMfXQ+HdCsDWaa4wuG0w__27433.0390304842$1310506984$gmane$org@mail.gmail.com>
2011-07-13 13:59 ` Tom Tromey
2011-07-13 20:17 ` Mike Frysinger
2011-07-12 5:18 Mike Frysinger
2011-12-03 18:24 ` Mike Frysinger
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=m3hb6rgu18.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=toolchain-devel@blackfin.uclinux.org \
--cc=vapier@gentoo.org \
/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