Date: 6/21/84 From: Dennis Quinn To: All Re: Small C version 2 The SMC-OBJ library on this system is a public- domain C compiler written a few years back by Ron Cain, J. E. Hendrix, and Bill Randle. It is a good subset of version 7 C, lacking long and float variables as well as structures. It was the starting point for the development of C/80. (I am the person who uploaded it here and I have used it extensively.) Small-C generates ASM source. If you have the Microsoft M80 assembler, L80 link editor, and LIB80 object librarian, pick up the SMC-M80 library in- stead and you'll save yourself a lot of time -- going to ASM source results in HUGE assemblies taking LOTS of time. All things considered, SMC would be a worthwhile purchase even if it cost $50 -- the fact that it's free is so much the better. Small "C" Version 2 libraries (SMC-OBJ.LBR, SMC-SRC.LBR, and SMC-M80.LBR) have been uploaded to this system for your free use. Small C is a proper subset of the C language as defined by K&R, version 7. Absent from the language are such frills as structures, unions, initial values (allowed only for global variables), long and float types, typecasts, and typed procedures (all procedures are type int). SMC-OBJ.LBR contains everything you need to begin writing programs in the "C" language, including all necessary i/o libraries and the support subroutines. Two users manuals (SMALLC.DOC and SMALLC2.DOC) are included to describe the features of the language. SMC-SRC.LBR contains the source for the compiler, and should be downloaded only if you intend to modify the com- piler. SMC-M80.LBR is a special version of the Small "C" compiler tailored for use with the Microsoft M80 assembler and L80 link editor, and should be downloaded ONLY if you already have these two proprietary products (not included in the library). With this version, a .REL library is included which contains all of the support and i/o sub- routines. These subroutines are invoked during the link edit process and do not have to be included during the compile step (as in the simple SMC-OBJ version), resulting in faster compilations and smaller object programs (only subroutines which are actually required are bound in the object module produced by L80). These libraries are in the public domain. They may not be sold, however programs created with small "C" may be sold or included in commercial products. Use them in good health. Report any problems here. Dennis Quinn.