Awatmath.1839 net.bugs.4bsd utcsrgv!utzoo!decvax!watmath!dmmartindale Tue Feb 23 15:15:20 1982 Making yacc tables shared in ccom The file /usr/src/cmd/pcc/:yyfix is supposed to write a given set of yacc's tables into the file rodata.c, replacing them with external declarations in y.tab.c. In fact, it writes only the last of them into rodata.c, and reads the rest back into y.tab.c. Replace :yyfix with the following, recompile, and about 4Kb of tables become shared. >rodata.c for i in $* do ed - y.tab.c <
This Usenet Oldnews Archive article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.
2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright© 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.


Goto NEXT article in NET.bugs.4bsd Newsgroup
Return to NET.bugs.4bsd index
Return to the Usenet Oldnews Archive index ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.