/MAP

Syntax:

/MAP[:filename]

This option tells the linker to generate a mapfile. You can optionally specify a map file name to override the default.

The linker names the mapfile with the base name of the program and the extension .MAP. To override the default name, use the filename argument.

A map file is a text file that contains the following information about the program being linked:

To select this in the visual development environment, select the Generate Mapfile check box in the Debug category of the Link tab in the Project Settings dialog box.