johnl@proper.UUCP (John A. Limpert ) (04/13/84)
Sorry if you have seen this question 50,000 times. I am attempting to install the B news software (2.10.1) on a LSI-11/23 based Unix V7 system. Everything compiled OK once I removed all "void" declarations. The code files for such programs as readnews and inews are way too large to run on a PDP-11 with common I & D space. Does anyone on the net have any suggestions on how to make the software work in a limited address space? I would like to avoid spending alot of time rewriting the programs. Yea, I know, real Unix runs on Vaxen (sigh...). John Limpert @ Proper Unix
Wegeng.Henr@XEROX.ARPA (04/23/84)
From: Don Wegeng <Wegeng.Henr@XEROX.ARPA> If your version of Unix has the capability to overlay user programs try that method. I got an earlier version of news to run on an 11/34 running Xenix with this method. When I first compiled the code I would get core dumps, which revealed (via adb) that many of the automatic variables in the routine which crashed were not being saved on the stack, which I interpreted to mean that the top was being blown off the stack. Thru several iterations I was able to make it work by declaring lots of variables (especially arrays) static. I realize that this can be dangerous if the code is recursive, but there wasn't much else to do. I guess that the authors didn't intend for this code to run on a small 11. Maybe the next version of news will be more portable. Don Wegeng Xerox, Webster NY Wegeng.Henr@Xerox.ARPA rocks34!dw