DOS Programs

You can now use a module-definition file when you link a DOS application. LINK creates a DOS executable file instead of a segmented executable file if the .DEF file contains any of the following:

An EXETYPE statement that specifies the type DOS

A SEGMENTS statement that specifies an overlay number

A FUNCTIONS statement that specifies an overlay number

Other conditions also determine the type of executable file that LINK creates; for details, see “LINK Output Files” on page 563. The only valid statements in a .DEF file for a DOS program are EXETYPE, SEGMENTS, FUNCTIONS, and INCLUDE. All other statements are ignored.