Mail Archives: djgpp/2000/07/08/10:33:22
Yes, simple substitution for YACC will allow flex 2.5.4 to build as
well on Windows9x as on plain DOS. That is to say that the library
and "flex.exe" is built to pass "make check" and "make bigcheck".
No changes are required to the instructions.
"make install" was not and is not supported. To do this properly
appears to require changes to "makefile.in" which would likely not be
welcomed by a multi-platform program. (Users are invited to suggest
changes to configure.in).
The trend seems to be going the other way, taking advantage of multiple
stops, ".", in file names where the platform supports them. Cf. e.g.
the July 7th announcement of Juan Manuel Guerrero's port of byacc-1.9.
So is avoiding their use the right thing?
Regards,
Frank
; - - - - begin patch
--- gnu/flex-2.5-4/MISC/MSDOS/djgpp.sed~ Tue Mar 25 15:06:10 1997
+++ gnu/flex-2.5-4/MISC/MSDOS/djgpp.sed Sat Jul 8 08:07:18 2000
@@ -4,5 +4,5 @@
s/@LIBS@//
s/@srcdir@/./
-s/@YACC@/bison -y/
+s/@YACC@/bison -o y_tab.c/
s/@CC@/gcc/
s/@RANLIB@/ranlib/
; - - - - end patch
- Raw text -