[comp.sys.att] KCL bug and fix

alex@umbc3.UMD.EDU (Alex S. Crain) (10/17/88)

	My apologies to unix-pc-land over this. It seems that there is a bug
in the pathes to KCL for the 3b1. 

	I compiled KCL with the shared libraries, after first omitting
any direct references to the system *alloc() functions. Unfortunately, 
something is still using alloc() because kcl will eventually die of a
corrupted memory map (KCL wants to handle *all* available memory, and will
complain if it can't). The fix is to not compile with shlib, so change 
3b1port/makefile where it says

	$(LD) /lib/crt0s.o kcl.ifile -o ....
	  ^^^^^^^^^^^^^^^^^^^^^^^^^^
to

	$(CC) -o 
	  ^^^

There are two occurances of this in the makefile.

-- 
					:alex.
					Systems Programmer
nerwin!alex@umbc3.umd.edu		UMBC
alex@umbc3.umd.edu