This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfa] remove dependency of f-exp.tab.c on c-exp.tab.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]