### /MAP, /NOMAP

Syntax: | Default:
/M[AP][:name] | /NOM
/NOM[AP] |

Use /MAP to generate a map file called name. The file lists the composition of each segment, and the public (global) symbols defined in the object files. The symbols are listed twice: in order of name and in order of address.

If you do not specify a directory, the map file is generated into the current working directory. If you do not specify name, the map file has the same name as the executable output file, with the extension .map.

If you are compiling and linking in one step, you can use the /Fm compiler option to generate a linker map file.

By default, the linker does not produce a map file.

Summary of Linker Options