Mail Archives: djgpp/1997/12/03/22:47:15
Wolfram Brenig wrote:
>
> Hi,
>
> I have a total (bison-)ignorants problem compiling f2c under v2.01:
>
> In line 38 of the makefile which comes with the f2c95201 version
> in directory CONTRIB/F2C95201/SRC/SRC/MAKEFILE (distrib. with v1.xx
> and I'm not aware of more recent ones) invokes bison with
>
> $(YACC) $(YFLAGS) gram
>
> in v1.xx or v2.00 this line produced 4 harmless (?) shift/reduce conflict
> *warnings*, however, with a nicely working f2c.exe in your bin-directory
> at the end of the day.
>
> Unfortunately, using v2.01 (instead of v1.xx or v2.00) bison
> jumps at me in this very line, now claiming the former warnings
> are suddenly 'type clash *errors*' and stops the make.
>
A problem with bison 1.25 , these errors cause make to abort.
Previous bison versions ( eg 1.24) trated thes as warnings.
See if bison 1.24 is still in the djgpp archives at simtelnet.
An alternative , manually extract the first 100 lines from gram.c
and save to tokdefs.h , then edit the makefile so that it does
not try to regenerate gram.c using bison etc.
- Raw text -