|
|
1.1 root 1: CAVEAT: This version of pic is written in ANSI C.
2: You won't be able to compile it with an old-style
3: C compiler. You should be able to compile it with
4: C++, however. You might have to cope with minor
5: header file problems.
6:
7:
8: To make pic,
9: make
10:
11: The output will look something like this:
12: cmp -s y.tab.h prevy.tab.h || cp y.tab.h prevy.tab.h
13: y.tab.h: No such file or directory
14: cp: y.tab.h: No such file or directory
15: *** Error code 1(ignored)
16: yacc -d picy.y
17:
18: conflicts: 187 shift/reduce
19: cc -g -c y.tab.c
20: rm y.tab.c
21: mv y.tab.o picy.o
22: lex picl.l
23: 1323/1700 nodes(%e), 3659/5000 positions(%p), 534/700 (%n), 29275 transitions
24: , 105/120 packed char classes(%k), 1544/1800 packed transitions(%a), 1217/1500 output slots(%o)
25: cc -g -c lex.yy.c
26: rm lex.yy.c
27: mv lex.yy.o picl.o
28: cc -g -c main.c
29: cc -g -c print.c
30: cc -g -c misc.c
31: cc -g -c symtab.c
32: cc -g -c blockgen.c
33: cc -g -c boxgen.c
34: cc -g -c circgen.c
35: cc -g -c arcgen.c
36: cc -g -c linegen.c
37: cc -g -c movegen.c
38: cc -g -c textgen.c
39: cc -g -c input.c
40: cc -g -c for.c
41: cc -g -c pltroff.c
42: cc -g picy.o picl.o main.o print.o misc.o symtab.o blockgen.o boxgen.o circgen.o arcgen.o linegen.o movegen.o textgen.o input.o for.o pltroff.o -lm
43:
44: The lex phase in particular takes an eon, about 2 minutes
45: of cpu time on an DEC VAX 8550. Be patient.
46:
47: This leaves the output in a.out.
48:
49: The file FIXES lists bugs fixes and a few new features.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.