summaryrefslogtreecommitdiffstats
path: root/contrib/one-true-awk/README
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-12-13 04:59:48 +0000
committerobrien <obrien@FreeBSD.org>2002-12-13 04:59:48 +0000
commit279a30e7a9812f477c5991f0df7082a9736bdc00 (patch)
tree59f89c7c67df8769e65e35d1054fb5407fb18d12 /contrib/one-true-awk/README
parent4911d68e89b7b39eeb1d42f4e510a4c6c5d26bd3 (diff)
downloadFreeBSD-src-279a30e7a9812f477c5991f0df7082a9736bdc00.zip
FreeBSD-src-279a30e7a9812f477c5991f0df7082a9736bdc00.tar.gz
Vendor import of bwk's 29-Nov-2002 release.
Most significant update is the inclusion of our port's locale patches.
Diffstat (limited to 'contrib/one-true-awk/README')
-rw-r--r--contrib/one-true-awk/README29
1 files changed, 17 insertions, 12 deletions
diff --git a/contrib/one-true-awk/README b/contrib/one-true-awk/README
index dc27a6b..8fbf30b 100644
--- a/contrib/one-true-awk/README
+++ b/contrib/one-true-awk/README
@@ -40,18 +40,18 @@ which should produce a sequence of messages roughly like this:
conflicts: 43 shift/reduce, 85 reduce/reduce
mv y.tab.c ytab.c
mv y.tab.h ytab.h
- cc -O -c ytab.c
- cc -O -c b.c
- cc -O -c main.c
- cc -O -c parse.c
- cc -O maketab.c -o maketab
+ cc -c ytab.c
+ cc -c b.c
+ cc -c main.c
+ cc -c parse.c
+ cc maketab.c -o maketab
./maketab >proctab.c
- cc -O -c proctab.c
- cc -O -c tran.c
- cc -O -c lib.c
- cc -O -c run.c
- 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
+ cc -c proctab.c
+ cc -c tran.c
+ cc -c lib.c
+ cc -c run.c
+ cc -c lex.c
+ cc 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.
@@ -75,9 +75,14 @@ with, though the underlying support has mysterious properties,
the symptom of which can be truncated pipe output. Beware.
The file makefile.win gives hints on how to proceed.
-This is also said to compile on Macintosh systems, using the
+This compiles without change on Macintosh OS X using gcc and
+the standard developer tools.
+
+This is also said to compile on Macintosh OS 9 systems, using the
file "buildmac" provided by Dan Allen (danallen@microsoft.com),
to whom many thanks.
The version of malloc that comes with some systems is sometimes
astonishly slow. If awk seems slow, you might try fixing that.
+More generally, turning on optimization can significantly improve
+awk's speed, perhaps by 1/3 for highest levels.
OpenPOWER on IntegriCloud