Home | Overview | How Do I | Compiler Options
The /Fm[filename] option instructs the linker to produce a map file. No space is allowed between /Fm and filename. The map file contains a list of segments in the order of their appearance within the corresponding .EXE file or DLL. By default, the map file is given the base name of the corresponding C or C++ source file with a .MAP extension. If you specify the /c option to suppress linking, /Fm has no effect.
Global symbols in a map file usually have one or more leading underscores, because the compiler adds an underscore to the beginning of variable names. Many of the global symbols that appear in the map file are used internally by the compiler and the standard libraries.
For more information on map files, see the /MAP linker option.