cobol2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
DEFFILE Details (↑ Compiler Control)
 Key Summary                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     This directive only affects .OBJ files.
 
     The name of this file is included on the command line to the linker.
 
     If file-name is omitted, the name of the file created will be
     program-name.DEF. File-name can be specified as *.xxx to set the
     extension but use program-name as the root. For example,
     DEFFILE "*.DFA" will create a file called program-name.DFA.
 
     The file created will contain the following lines:
 
       LIBRARY INITINSTANCE
       PROTMODE
       DATA NONSHARED
       EXPORTS entry-point @integer
 
     where an EXPORTS line exists for each entry point in the program,
     with entry-point being the name of the entry point, and integer
     a unique number starting at 1.
 
     If you also specify the directive NODLL, the line LIBRARY
     INITINSTANCE is replaced by NAME.
                                    -♦-