LINK Help (linkx.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> Field
                                             Up Contents Index Back
─────<deffile> Field────────────────────────────────────────────────────────
 
     Specify a module-definition file in the <deffile> field when you
     are linking a segmented executable file. A module-definition file
     is optional for applications but required for DLLs.
     See: Module-Definition Files
 
     You can specify a path with the <deffile> name. The default
     extension is .DEF.
 
     LINK prompts for a <deffile> if you do not specify <deffile> on
     the command line or in a response file and do not end the line
     with a semicolon (;). If a semicolon is specified before the
     <deffile> field, LINK assumes that a <deffile> is not needed. To
     link for DOS, use a semicolon to terminate the command line before
     the <deffile> field (or accept the default NUL.DEF at the
     Definitions File prompt).
 
     How LINK Looks for Module-Definition Files
 
     LINK searches for <deffile> in the directory specified for the
     file if a path is included. If the file is not in that directory,
     the search terminates. If no path is specified, LINK look only in
     the current directory. If LINK cannot find the file, it issues an
     error.
                                    -♦-