C-Kermit v4F(077) Overlay Makefile

Dennis Flaherty dennisf at studsys.mu.edu
Thu May 4 06:03:12 AEST 1989


I ordered the new v4F(077) C-Kermit, put the files
in a directory and tried to "make bsd210".  The Makefile
compiled everything right, but when it tried to load,
I got a text overflow.

So I took out the DEBUG option.  Text overflow.
So I took out the TLOG option.  Text overflow.

I really didn't want to do any more feature-elimination;
C-Kermit has just become too large to fit in one 64k
text segment.  So I put all the options back and made
an overlay makefile.

Here are some diffs for the 4F(077) sources.  The patches
to cku[ft]io.c merely serve to give you a "2.10BSD"
id message when you run kermit, instead of it telling
you that you have 2.9BSD.


May  1 00:15 1989  diff -l Makefile.orig Makefile Page 1


182a183,190
> 
> ovwermit: ckcmai.o ckucmd.o ckuusr.o ckuus2.o ckuus3.o ckcpro.o ckcfns.o \
> 		 ckcfn2.o ckucon.o ckutio.o ckufio.o ckudia.o ckuscr.o
> 	ld $(LNKFLAGS) -o wermit /lib/crt0.o ckcmai.o ckcfns.o \
> 		ckcfn2.o ckcpro.o ckucmd.o ckuusr.o ckucon.o \
> 		-Z ckutio.o ckufio.o ckudia.o \
> 		-Z ckuus2.o ckuus3.o ckuscr.o \
> 		-Y -lc $(LIBS)
238c246
< 	make wermit "CFLAGS= -DBSD29 -DDEBUG -DTLOG" -DLCKDIR \
---
> 	make ovwermit "CFLAGS= -DBSD29 -DBSD210 -DDEBUG -DTLOG -DLCKDIR" \
May  1 00:15 1989  diff -l ckufio.c.orig ckufio.c Page 1


57a58,60
> #ifdef BSD210
> char *ckzsys = " 2.10 BSD";
> #else
59c62,63
< #endif
---
> #endif BSD210
> #endif BSD29
May  1 00:15 1989  diff -l ckutio.c.orig ckutio.c Page 1


77a78,80
> #ifdef BSD210
> char *ckxsys = " 2.10 BSD";
> #else
79c82,83
< #endif /* bsd29 */
---
> #endif BSD210
> #endif BSD29



Hope this helps!
-- 
Dennis Flaherty           dennisf@{studsys,mcwlab.mcw}.mu.edu
Marquette University       uunet!marque!{studsys,mcwlab}!dennisf
  "The best diplomat I know is a fully activated phasor bank."
         -Lt.Cmdr. Scotty, "A Taste of Armageddon" 



More information about the Comp.bugs.2bsd mailing list