LINK Help (linker.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
─────LINK───────────────────────────────────────────────────────────────────
 
     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.
 
     The /LINE option forces LINK to create a map file even if you did
     not explicitly tell LINK to do so. LINK creates a map file when a
     filename is specified in the <mapfile> field or when the default
     map-file name is accepted. (The /MAP option also forces creation
     of a map file.) By default, the map file is given the same base
     name as the executable file with the extension .MAP. You can
     override the default name by specifying a filename in the
     <mapfile> field or in response to the List File prompt.
     See: <mapfile> Field
 
     To add public symbols to the map file, use the /MAP option.
     See: /MAP Option
                                    -♦-