This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Another makefile nit: bison
- To: Todd Vierling <tv at pobox dot com>
- Subject: Re: Another makefile nit: bison
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 26 Aug 1998 10:34:57 -0600
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <Pine.NEB.4.02.9808260811010.24815-100000@duhnet.net>you write:
> It seems that the Makefiles, when using bison, generate the .c and .h files
> in the _source_, not _object_ directory. If you use "maintainer-clean" to
> require that these be regenerated (or, again, use a third party CVS
> repository and want them regenerated to get around that timestamp problem),
> this seems pretty bogus.
>
> I'd like to propose that these be built in the object directory, such that
> when an objdir is in use, it will not clobber the [removed] .[ch] files in
> the source directory.
There's many advantages to moving them into the objtree, the one significant
disadvantage is folks picking up the release will be forced to install
bison to install egcs.
jeff