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: [PATCH] remove ada-exp.tab.c


* 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




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