| title | -Fm (Name Mapfile) | Microsoft Docs | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ms.custom | ||||||||||||||
| ms.date | 11/04/2016 | |||||||||||||
| ms.reviewer | ||||||||||||||
| ms.suite | ||||||||||||||
| ms.technology |
|
|||||||||||||
| ms.tgt_pltfrm | ||||||||||||||
| ms.topic | article | |||||||||||||
| f1_keywords |
|
|||||||||||||
| dev_langs |
|
|||||||||||||
| helpviewer_keywords |
|
|||||||||||||
| ms.assetid | 8154448a-93a7-4546-8e4c-5c44d0aff45d | |||||||||||||
| caps.latest.revision | 12 | |||||||||||||
| author | corob-msft | |||||||||||||
| ms.author | corob | |||||||||||||
| manager | ghogen | |||||||||||||
| translation.priority.ht |
|
Tells the linker to produce a mapfile containing a list of segments in the order in which they appear in the corresponding .exe file or DLL.
/Fmpathname
By default, the mapfile is given the base name of the corresponding C or C++ source file with a .MAP extension.
Specifying /Fm has the same effect as if you had specified the /MAP (Generate Mapfile) linker option.
If you specify /c (Compile Without Linking) to suppress linking, /Fm has no effect.
Global symbols in a mapfile usually have one or more leading underscores because the compiler adds a leading underscore to variable names. Many global symbols that appear in the mapfile are used internally by the compiler and the standard libraries.
-
Open the project's Property Pages dialog box. For details, see Working with Project Properties.
-
Click the C/C++ folder.
-
Click the Command Line property page.
-
Type the compiler option in the Additional Options box.
- See xref:Microsoft.VisualStudio.VCProjectEngine.VCCLCompilerTool.AdditionalOptions%2A.
Output-File (/F) Options
Compiler Options
Setting Compiler Options
Specifying the Pathname