README (112336) | README (146299) |
---|---|
1/**************************************************************** 2Copyright (C) Lucent Technologies 1997 3All Rights Reserved 4 5Permission to use, copy, modify, and distribute this software and 6its documentation for any purpose and without fee is hereby 7granted, provided that the above copyright notice appear in all 8copies and that both that the copyright notice and this --- 42 unchanged lines hidden (view full) --- 51 cc -c lib.c 52 cc -c run.c 53 cc -c lex.c 54 cc ytab.o b.o main.o parse.o proctab.o tran.o lib.o run.o lex.o -lm 55 56This produces an executable a.out; you will eventually want to 57move this to some place like /usr/bin/awk. 58 | 1/**************************************************************** 2Copyright (C) Lucent Technologies 1997 3All Rights Reserved 4 5Permission to use, copy, modify, and distribute this software and 6its documentation for any purpose and without fee is hereby 7granted, provided that the above copyright notice appear in all 8copies and that both that the copyright notice and this --- 42 unchanged lines hidden (view full) --- 51 cc -c lib.c 52 cc -c run.c 53 cc -c lex.c 54 cc ytab.o b.o main.o parse.o proctab.o tran.o lib.o run.o lex.o -lm 55 56This produces an executable a.out; you will eventually want to 57move this to some place like /usr/bin/awk. 58 |
59If your system is does not have yacc or bison (the GNU | 59If your system does not have yacc or bison (the GNU |
60equivalent), you must compile the pieces manually. We have 61included yacc output in ytab.c and ytab.h, and backup copies in 62case you overwrite them. We have also included a copy of 63proctab.c so you do not need to run maketab. 64 65NOTE: This version uses ANSI C, as you should also. We have 66compiled this without any changes using gcc -Wall and/or local C 67compilers on a variety of systems, but new systems or compilers --- 27 unchanged lines hidden --- | 60equivalent), you must compile the pieces manually. We have 61included yacc output in ytab.c and ytab.h, and backup copies in 62case you overwrite them. We have also included a copy of 63proctab.c so you do not need to run maketab. 64 65NOTE: This version uses ANSI C, as you should also. We have 66compiled this without any changes using gcc -Wall and/or local C 67compilers on a variety of systems, but new systems or compilers --- 27 unchanged lines hidden --- |