Article View: comp.bugs.2bsd
Article #235C-Kermit v4F(077) Overlay Makefile
From: Dennis Flaherty
Date: Wed, 03 May 1989 20:03
Date: Wed, 03 May 1989 20:03
69 lines
2365 bytes
2365 bytes
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"
Technical Details
Message-ID:
<456@studsys.mu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!marque!studsys!dennisfShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!marque!studsys!dennisf From: dennisf@studsys.mu.edu (Dennis Flaherty) Newsgroups: comp.bugs.2bsd Subject: C-Kermit v4F(077) Overlay Makefile Keywords: get your diffs here! Message-ID: <456@studsys.mu.edu> Date: 3 May 89 20:03:12 GMT Reply-To: dennisf@studsys.mu.edu (Dennis Flaherty) Distribution: na Organization: Marquette University - Milwaukee, Wisconsin Lines: 69