[PATCH] remove ada-exp.tab.c
Andrew Cagney
ac131313@cygnus.com
Wed Jun 5 09:33:00 GMT 2002
> * 2002-06-04 Aidan Skinner <aidan@velvet.net>
>> * ada-exp.tab.c: remove, it's a generated file
>>
>> (no patch, I'd just cvs remove the file)
>
>
> But if you remove it, you force the dependency on yacc or bison when
> building GDB, which may not be available on all machines. At ACT, we
> have taken a different approach where we have this filed checked in our
> repository, and we regenerate it when we modify ada-exp.y. The same goes
> for ada-lex.c, generated from ada-lex.l.
The release and snapshot processes include steps to generate these
files. Hence the dependency only exists for developers using CVS.
> The situation is analogus to configure and configure.in.
Similar.
Configure needs to be re-generated with the correct autoconf and we want
everyone running the same script. If it isn't we'll end up chasing our
tail looking for host dependant autoconf bugs :-(
For .l and .y files I think they really should be rebuildable with any
(and not a specific lex/yacc et.al.).
enjoy,
Andrew
More information about the Gdb-patches
mailing list