=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/awk/Attic/README,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- src/usr.bin/awk/Attic/README 1997/08/25 16:17:08 1.2 +++ src/usr.bin/awk/Attic/README 1999/04/18 17:06:29 1.3 @@ -1,4 +1,4 @@ -/* $OpenBSD: README,v 1.2 1997/08/25 16:17:08 kstailey Exp $ */ +/* $OpenBSD: README,v 1.3 1999/04/18 17:06:29 millert Exp $ */ /**************************************************************** Copyright (C) Lucent Technologies 1997 All Rights Reserved @@ -54,13 +54,14 @@ cc -O -c lex.c cc -O ytab.o b.o main.o parse.o proctab.o tran.o lib.o run.o lex.o -lm -This produces an executable a.out; you will eventually -want to move this to some place like /usr/bin/awk. +This produces an executable a.out; you will eventually want to +move this to some place like /usr/bin/awk. If your system is does not have yacc or bison (the GNU equivalent), you must compile the pieces manually. We have included yacc output in ytab.c and ytab.h, and backup copies in -case you overwrite them. +case you overwrite them. We have also included a copy of +proctab.c so you do not need to run maketab. NOTE: This version uses ANSI C, as you should also. We have compiled this without any changes using gcc -Wall and/or local C @@ -68,12 +69,16 @@ may raise some new complaint; reports of difficulties are welcome. -This also compiles with Visual C++ 4.1 on Windows 95 and -presumably Windows NT, *if* you provide versions of popen and -pclose. The file missing95.c contains do-nothing versions that -can be used to get started with. It is too much trouble to -figure out how to make these work for real. +This also compiles with Visual C++ on Windows 95 and Windows NT, +*if* you provide versions of popen and pclose. The file +missing95.c contains versions that can be used to get started +with, though the underlying support has mysterious properties, +the symptom of which can be truncated pipe output. Beware. +This is also said to compile on Macintosh systems, using the +file "buildmac" provided by Dan Allen (danallen@microsoft.com), +to whom many thanks. Dan also provided buildwin.bat, a simple +script for compiling on NT if you prefer. + The version of malloc that comes with some systems is sometimes astonishly slow. If awk seems slow, you might try fixing that. -