Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ User's Guide - tiny memory model programs are created by compiling all modules with the http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Tiny memory model programs are created by compiling all modules with the
small memory model option and linking in the special initialization file
"CSTART_T.OBJ".  This file is found in the Watcom C/C++ LIB286\DOS
directory.  It must be the first object file specified when linking the
program.

The following sequence will create the executable file "MYPROG.COM" from the
file "MYPROG.C":

Example:

     C>wcc myprog /ms
     C>wlink system com file myprog

Most of the details of linking a "COM" program are handled by the "SYSTEM
COM" directive (see the WLSYSTEM.LNK file for details).  When linking a
"COM" program, the message "Stack segment not found" is issued.  This
message may be ignored.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson