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.
<mapfile> Field
                                             Up Contents Index Back
─────<mapfile> Field────────────────────────────────────────────────────────
 
     Use the <mapfile> field to specify a name for the map file or to
     suppress creation of a map file. A map file lists the segments in
     the main output file.
 
     You can specify a path with the filename. The default extension
     is .MAP. Specify NUL to suppress the creation of a map file. The
     default for the <mapfile> field is one of the following:
 
        ■ If this field is left blank on the command line or in a
          response file, LINK creates a map file with the base name of
          <exefile> (or the first object file if <exefile> is not
          specified) and the extension .MAP.
 
        ■ When using LINK prompts, LINK assumes either the default
          described above (if an empty <mapfile> field is specified)
          or NUL.MAP, which suppresses creation of a map file.
 
     To add line numbers to the map file, use the /LINE option. To add
     public symbols, use the /MAP option. Both /LINE and /MAP force a
     map file to be created, unless NUL is explicitly specified.
     See: /LINE Option
          /MAP Option
                                    -♦-