/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.
-♦-