From: reed m. <rf...@cr...> - 2000-08-30 18:42:51
|
> So I think this has to be attributed to different versions of yacc. I bet > you Linux folks are using GNU Bison or something that I'm not. Also, > check out the target for parse.c in dsql/makefile: I actually just touched parse.c before building (on linux) because I didn't have a yacc (yeah bison was, there, but I haven't got around to trying it yet). As long as you are not actually making changes to parse.y, this should be fine ;-(. Depending what order CVS pulled them out, other people might not actually be rebuilding it. Obviously, on NT, we just use the checked in file. I think the checked in versions at IB were yacced using solaris. Looking at parse.sed, it seems it might be pretty specific to the yacc involved. > > parse.c: parse.y parse.sed > $(YACC) -l $(YFLAGS) $< > # replace the above line with the following three for FLINTSTONE > # awk -f parse.awk FLINTSTONE=1 < $< > tmp.$< > # $(YACC) -l $(YFLAGS) tmp.$< > # -$(RM) tmp.$< > sed -f parse.sed y.tab.c > $@ > -$(RM) y.tab.c > > Isn't FLINTSTONE used to indicate a production version of the binaries? > FLINTSTONE is totally useless. I'm 99.9% positive if you grep the source for it, you will not find it used ANYWHERE. It was the code-name for a 4.0 project that somehow never got removed from the makefiles. OK. I just verified this. FLINTSTONE can be removed from the makefiles. But what is interesting is that FLINT_CACHE still exists both in the checked-in parse.c and in sql.c Doesn't look like it is ever defined. We'll have to find someone from the 4.0 project to tells what this all means. for d in * ; do if [ -d $d ] ; then grep FLINT $d/*.[ceh]; fi; done dudley/parse.c:#ifdef FLINT_CACHE dudley/parse.c:#endif /* FLINT_CACHE */ dudley/parse.c:#ifdef FLINT_CACHE dudley/parse.c:#endif /* FLINT_CACHE */ gpre/sql.c:#ifdef FLINT_CACHE gpre/sql.c:#endif /* FLINT_CACHE */ gpre/sql.c:#ifdef FLINT_CACHE gpre/sql.c:#endif /* FLINT_CACHE */ gpre/sql.c:#ifdef FLINT_CACHE gpre/sql.c:#endif /* FLINT_CACHE */ gpre/sql.c:#ifdef FLINT_CACHE gpre/sql.c:#endif /* FLINT_CACHE */ -- Reed Mideke rfm(at)cruzers.com If that doesn't work: rfm(at)portalofevil.com InterBase build instructions: www.cruzers.com/~rfm |