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.
/LINE Option
                                             Up Contents Index Back
─────/LINE Option───────────────────────────────────────────────────────────
 
     Syntax:  /LI[NENUMBERS]
 
     The /LINE option adds line numbers and associated addresses from
     source files to the map file.
 
     If an object file contains no line-number information, /LINE has
     no effect. Use the /Zd or /Zi option with Microsoft compilers such
     as CL, FL, and ML to add line numbers to an object file.
 
     If you also want to add public symbols to the map file, use the
     /MAP option.
     See: /MAP Option
 
     The /LINE option forces LINK to create a map file even if you did
     not explicitly tell LINK to do so. By default, LINK gives the map
     file the same base name as the executable file and the extension
     .MAP. You can override the default name by specifying a new name
     in the <mapfile> field.
                                    -♦-