home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
archives
/
ckc197.tar.gz
/
ckc197.tar
/
ckmmak.hlp
< prev
next >
Wrap
Text File
|
1993-12-01
|
2KB
|
76 lines
How to build Mac Kermit under MPW C 3.2
=======================================
Use the ckmker.mak file.
How to build Mac Kermit under Think C 5.0 (5.0.4 or higher)
===========================================================
Paul W. Placeway, October 1993 + Joe Bearly, December 1993.
======= Preliminaries =======
You must build a version of the "ANSI-small" library with 4-byte ints. I make
this with full optimization also. To do this, open your "Think C 5.0 Folder",
and the "C Libraries" folder in that. Duplicate the "ANSI-small" project,
rename the copy "ANSI-small 4int", then drag it into the "sources" folder
which is inside the "C Libraries" folder.
Open this folder and double-click "ANSI-small 4int". Select Options... from
the Edit menu, and set them to match the settings below. Select Make...,
click the Check All button, then the Make button. When this finishes, quit
Think C and drag the project back into the "C Libraries" folder.
======= Project Options =======
Language Settings:
ANSI conformance
X #define __STDC__
X Check Pointer Types
X Language Extensions
* Think C
X strict prototype enforcement
* Infer Prototypes
Compiler Settings:
X 4-byte ints
X 8-byte doubles
X "\p" is unsigned char
O Native floating point format
Code optimization:
(everything on except "Honor 'register' first")
Debugging:
(whatever. I usually use short-format MacsBug names.)
Prefix:
#include <MacHeaders>
#define MAC
#define TLOG
#define DEBUG
#define IFDEBUG
#define DYNAMIC
#define NOCMDL
#define NOCCTRAP
#define NOHELP
#define NOCYRIL
#define NOLATIN2
#define NOHEBREW
#define CK_ANSIC
Use "sarez" which is found inside folder "Rez Utilities" inside folder
"Think C 5.0 Utilities", to compile the 4 .r files in the source
distribution. Name the output file of this to be the same as the Kermit
project file, plus the extension .rsrc
To build Kermit itsself, use the same settings as above for the Kermit
project file, and do the segmentation as specified below:
======= Project segmentation =========
"ANSI-small 4int" in it's own segement
ckcmai.c with ckcnet.c
ckmpri.c with PrGlue
ckmtio.c with MacTraps