dos_compilers/Microsoft C v4
2024-07-04 11:17:49 -07:00
..
C microsoft c v4 2024-07-01 10:35:17 -07:00
INC linux build 2024-07-04 11:17:49 -07:00
L microsoft c v4 2024-07-01 10:35:17 -07:00
LIB linux build 2024-07-04 11:17:49 -07:00
M microsoft c v4 2024-07-01 10:35:17 -07:00
PATCH microsoft c v4 2024-07-01 10:35:17 -07:00
S microsoft c v4 2024-07-01 10:35:17 -07:00
_WILD.ASM microsoft c v4 2024-07-01 10:35:17 -07:00
ADAPT.BAT microsoft c v4 2024-07-01 10:35:17 -07:00
BINMODE.OBJ microsoft c v4 2024-07-01 10:35:17 -07:00
BRKCTL.INC microsoft c v4 2024-07-01 10:35:17 -07:00
C1.EXE microsoft c v4 2024-07-01 10:35:17 -07:00
C2.EXE microsoft c v4 2024-07-01 10:35:17 -07:00
C3.EXE microsoft c v4 2024-07-01 10:35:17 -07:00
C3L.EXE microsoft c v4 2024-07-01 10:35:17 -07:00
CHKSTK.ASM microsoft c v4 2024-07-01 10:35:17 -07:00
CHKSUM.ASM microsoft c v4 2024-07-01 10:35:17 -07:00
CIRCLE.C microsoft c v4 2024-07-01 10:35:17 -07:00
CIRCLE.EXE microsoft c v4 2024-07-01 10:35:17 -07:00
CIRCLE.R microsoft c v4 2024-07-01 10:35:17 -07:00
CIRCLEB.BAT microsoft c v4 2024-07-01 10:35:17 -07:00
CL.EXE microsoft c v4 2024-07-01 10:35:17 -07:00
CMACROS.INC microsoft c v4 2024-07-01 10:35:17 -07:00
CODEVIEW.DOC microsoft c v4 2024-07-01 10:35:17 -07:00
COUNT.C microsoft c v4 2024-07-01 10:35:17 -07:00
COUNT.EXE microsoft c v4 2024-07-01 10:35:17 -07:00
COUNT.R microsoft c v4 2024-07-01 10:35:17 -07:00
COUNT.TXT microsoft c v4 2024-07-01 10:35:17 -07:00
COUNTB.BAT microsoft c v4 2024-07-01 10:35:17 -07:00
CRT0.ASM microsoft c v4 2024-07-01 10:35:17 -07:00
CRT0DAT.ASM microsoft c v4 2024-07-01 10:35:17 -07:00
CRT0FP.ASM microsoft c v4 2024-07-01 10:35:17 -07:00
CRT0MSG.ASM microsoft c v4 2024-07-01 10:35:17 -07:00
CSETARGV.OBJ microsoft c v4 2024-07-01 10:35:17 -07:00
CV.EXE microsoft c v4 2024-07-01 10:35:17 -07:00
CV.HLP microsoft c v4 2024-07-01 10:35:17 -07:00
CVARSTCK.OBJ microsoft c v4 2024-07-01 10:35:17 -07:00
CVR.EXE microsoft c v4 2024-07-01 10:35:17 -07:00
DEMO.BAT microsoft c v4 2024-07-01 10:35:17 -07:00
DEMO.C microsoft c v4 2024-07-01 10:35:17 -07:00
DOSSEG.EXE microsoft c v4 2024-07-01 10:35:17 -07:00
E.C microsoft c v4 2024-07-01 10:35:17 -07:00
EMOEM.ASM microsoft c v4 2024-07-01 10:35:17 -07:00
EXECMSG.ASM microsoft c v4 2024-07-01 10:35:17 -07:00
EXEMOD.EXE microsoft c v4 2024-07-01 10:35:17 -07:00
EXEPACK.EXE microsoft c v4 2024-07-01 10:35:17 -07:00
LIB.EXE microsoft c v4 2024-07-01 10:35:17 -07:00
LINK.EXE microsoft c v4 2024-07-01 10:35:17 -07:00
LSETARGV.OBJ microsoft c v4 2024-07-01 10:35:17 -07:00
LVARSTCK.OBJ microsoft c v4 2024-07-01 10:35:17 -07:00
m.bat linux build 2024-07-04 11:17:49 -07:00
m.sh linux build 2024-07-04 11:17:49 -07:00
MAKE.EXE microsoft c v4 2024-07-01 10:35:17 -07:00
MAKEFILE microsoft c v4 2024-07-01 10:35:17 -07:00
MATH.C microsoft c v4 2024-07-01 10:35:17 -07:00
MENU.BAT microsoft c v4 2024-07-01 10:35:17 -07:00
MOUSE.COM microsoft c v4 2024-07-01 10:35:17 -07:00
MOUSE.SYS microsoft c v4 2024-07-01 10:35:17 -07:00
MSC.EXE microsoft c v4 2024-07-01 10:35:17 -07:00
MSDOS.INC microsoft c v4 2024-07-01 10:35:17 -07:00
MSETARGV.OBJ microsoft c v4 2024-07-01 10:35:17 -07:00
MVARSTCK.OBJ microsoft c v4 2024-07-01 10:35:17 -07:00
NMSGHDR.ASM microsoft c v4 2024-07-01 10:35:17 -07:00
NULBODY.C microsoft c v4 2024-07-01 10:35:17 -07:00
NULBODY.LNK microsoft c v4 2024-07-01 10:35:17 -07:00
PI.C microsoft c v4 2024-07-01 10:35:17 -07:00
PIB.BAT microsoft c v4 2024-07-01 10:35:17 -07:00
README.DOC microsoft c v4 2024-07-01 10:35:17 -07:00
RESPOND.COM microsoft c v4 2024-07-01 10:35:17 -07:00
SAMPLE.BAT microsoft c v4 2024-07-01 10:35:17 -07:00
SETARGV.ASM microsoft c v4 2024-07-01 10:35:17 -07:00
SETENV.EXE microsoft c v4 2024-07-01 10:35:17 -07:00
SIEVE.C microsoft c v4 2024-07-01 10:35:17 -07:00
SSETARGV.OBJ microsoft c v4 2024-07-01 10:35:17 -07:00
STARTUP.BAT microsoft c v4 2024-07-01 10:35:17 -07:00
STDALLOC.ASM microsoft c v4 2024-07-01 10:35:17 -07:00
STDARGV.ASM microsoft c v4 2024-07-01 10:35:17 -07:00
STDENVP.ASM microsoft c v4 2024-07-01 10:35:17 -07:00
SVARSTCK.OBJ microsoft c v4 2024-07-01 10:35:17 -07:00
TM.C build fix 2024-07-01 10:40:45 -07:00
TTT.C microsoft c v4 2024-07-01 10:35:17 -07:00
WILD.C microsoft c v4 2024-07-01 10:35:17 -07:00

The directory \startup and its subdirectories contain the files
necessary for building the startup portion of the C runtime library.
The \startup directory contains the startup source files, the memory
model independent include files, the batch file and the make file used
to build the startup object files.  The subdirectories of \startup
contain the memory model dependent include file (version.inc) for the 
startup and are the repositories for the object files that get created 
by the startup batch file.  

The startup object files can be built by invoking startup.bat.  This
batch file assumes that the \startup directory and its subdirectories
S, M, C, and L exist and that make.exe, the C compiler and the assembler
are in the execution path.  MASM 4.0 or later is required to build the
startup sources with the makefile invoked by startup.bat.  The batch 
file also assumes that the startup sources are in the same directory as 
startup.bat.

The include files stdio.h and ctype.h are required for building the
startup source file wild.c but are not included on the \startup directory
because they exist on the directory containing the standard include files.
A make variable called CINC controls where the makefile looks for these
include files.  CINC is currently set to look for these include files in
the \startup directory by the line "CINC=.." in the makefile.  The value
of CINC can be changed appropriately if the includes are placed elsewhere.

The message "<cEnd - possible invalid use of nogen>" is generated 
when some of the assembly language source files are assembled.  This
message is expected and is totally benign.

The startup batch file requires arguments as described in the header of 
startup.bat.  Invoking startup.bat with no arguments will also give usage 
information.

The following files are contained in the \startup directory:

Startup source files:
	chkstk.asm
	chksum.asm
	crt0.asm
	crt0dat.asm
	crt0fp.asm
	crt0msg.asm
	execmsg.asm
	nmsghdr.asm
	setargv.asm
	stdalloc.asm
	stdenvp.asm
	stdargv.asm
	_wild.asm
	wild.c

Startup include files:
	brkctl.inc
	cmacros.inc
	msdos.inc
	register.h
	
Tools:
	dosseg.exe
    
Make and batch files:
	startup.bat:	invokes make file to build objs and link to null program
	makefile:	contains rules for building startup sources
	nulbody.c:	null c program
	nulbody.lnk:	link script for linking null program

Documentation:
	readme.doc:	information about \startup directory structure
			and contents