This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa] remove dependency of f-exp.tab.c on c-exp.tab.c
- From: David Carlton <carlton at math dot stanford dot edu>
- To: Michael Elizabeth Chastain <mec at shout dot net>
- Cc: gdb-patches at sources dot redhat dot com
- Date: 02 Dec 2002 11:57:37 -0800
- Subject: Re: [rfa] remove dependency of f-exp.tab.c on c-exp.tab.c
- References: <200212021933.gB2JXF810990@duracef.shout.net>
On Mon, 2 Dec 2002 13:33:15 -0600, Michael Elizabeth Chastain <mec@shout.net> said:
> At first I thought that this might be a Makefile hack to prevent
> Make from running multiple copies of yacc in parallel if the user
> runs a parallel build, "make -j".
Ah, good call. GDB did indeed once do this: the entry
Wed Jun 23 15:04:54 1993 K. Richard Pixley (rich@sendai.cygnus.com)
does, among other things, the following:
(ch-exp.tab.c, m2-exp.tab.c): added artificial dependencies in
order to force parallel makes into keeping these rules separate.
f-exp.y wasn't added until 1994, but presumably it also had the
artificial dependency included for the same reason; and that
artificial dependency must have gotten accidentally left behind when
this issue was cleaned up.
With that explanation, then, I think the patch becomes pretty obvious;
I'll commit it in a couple of days unless somebody objects.
David Carlton
carlton@math.stanford.edu