Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!ho95e!homxb!mtuxo!mtune!codas!killer!tness1!petro!ssbn!bill From: bill@ssbn.UUCP (Bill Kennedy) Newsgroups: news.software.b Subject: iAPX286 compress problem Message-ID: <394@ssbn.UUCP> Date: Tue, 20-Oct-87 17:23:04 EST Article-I.D.: ssbn.394 Posted: Tue Oct 20 17:23:04 1987 Date-Received: Sun, 25-Oct-87 10:00:28 EST Organization: W.L. Kennedy Jr. & Associates, Pipe Creek, TX Lines: 24 Keywords: compress Intel 80286 The compress program, as distributed, can be made to work on 16 bit processors by defining M_XENIX to the compiler when making compress. If this is done in IBMFLAGS it will make compress OK but it will kill the other compiles on a USG (Simul-Task, Microport) system. To have it work across the board change line 291 of Makefile.dst from $(CC) $(CFLAGS) $(LFLAGS) -o compress compress.c to read $(CC) $(CFLAGS) $(LFLAGS) $(I286) -o compress compress.c now add a line after line 61 that reads #USG I286 = and put a line in your localize.sh for the Makefile that reads /^I286/s/$/ -DM_XENIX/ If you are content with 12 bit compression you can localize with /^IBMFLAGS/s/$/ -Dpcxt/ but be sure that your neighbors compress for you with -b12, that can be forced in the sendbatch script. If you feed news to a 16 bit site that didn't make compress for 12 or 16 bit mode (first fix) be sure that you set cflags to -b12 in the sendbatch script. I suppose I should have made this in patch form but I'm not sure how to do that and I didn't want to experiment with "live data". This is sure to bite anyone running AT&T Simul-Task or Microport System V/AT. -- Bill Kennedy {cbosgd | ihnp4!petro | sun!texsun!rrm}!ssbn!bill