delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/08/10:33:22

Date: Sat, 8 Jul 2000 10:33:34 -0400 (EDT)
From: Frank Donahoe <fdonahoe AT wilkes1 DOT wilkes DOT edu>
To: DJGPP List <djgpp AT delorie DOT com>
cc: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, "Mark E." <snowball3 AT bigfoot DOT com>
Subject: Re: building flex 2.5.4
Message-ID: <Pine.A32.3.96.1000708094716.29586A-100000@wilkes1.wilkes.edu>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019