From dcfe4e8a9721fc5d93ad3e5365c6d4d631159a1d Mon Sep 17 00:00:00 2001 From: keie Date: Tue, 9 Apr 1985 13:48:55 +0000 Subject: [PATCH] *** empty log message *** --- mach/m68k2/Unisoft_bug | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 mach/m68k2/Unisoft_bug diff --git a/mach/m68k2/Unisoft_bug b/mach/m68k2/Unisoft_bug new file mode 100644 index 000000000..af4631409 --- /dev/null +++ b/mach/m68k2/Unisoft_bug @@ -0,0 +1,30 @@ +The following modifications to the file-system are required when +installing ACK under UniSoft Unix: + +1) Create a writable directory /usr/tmp (if not present already) + mkdir /usr/tmp + chmod 777 /usr/tmp +2) Install the file "assert.h" in /usr/include (this file is not + included in the Unisoft distribution, although it is standard V7 Unix). + The file can be copied from the ACK-tree: + cp /usr/em/include/assert.h /usr/include +3) The file /lib/libln.a is called /lib/libl.a in Unisoft Unix. + The easiest way to fix this is to link the latter to the former: + ln /lib/libl.a /lib/libln.a + +The UniSoft C compiler we used contains a bug that will cause +incorrect translations of the files getline.c and putline.c in +the directory util/opt (which contains the EM Peephole Optimizer). +To get around this bug, act as follows (after having compiled +the entire kit): + 1) compile the files getline.c and putline.c by hand to assembly code + (cc -S getline.c putline.c) + 2) edit the files getline.s and putline.s. Look for the instruction: + add.l #em_flag+ .... ,a0 + which appears TWICE in both files + and change it into: + add.l #em_flag-1,a0 + 3) do cc -c getline.s + cc -c putline.s + to create new object files getline.o and putline.o + 4) throw away the file "opt" and type make