且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Visual Studio中生成MAP文件

更新时间:2023-02-25 21:50:40

也许您想看一下文档.

将创建一个.map文件的链接器指令是, /MAP [:文件名]

The linker directive which will create a .map file is just, /MAP[:filename]

和..

文件名:映射文件的用户指定名称.它将替换默认名称.

filename: A user-specified name for the mapfile. It replaces the default name.

library/k7xkk3e2.aspx

found under https://msdn.microsoft.com/en-us/library/k7xkk3e2.aspx

此链接器指令应该是您想要的:). 或者更好地在

This linker directive should be what you were looking for :). Or better to be found under

  1. 打开项目的属性页"对话框.有关详细信息,请参见设置Visual C ++项目属性.
  2. 单击链接器文件夹.
  3. 单击调试"属性页.
  4. 修改生成地图文件"属性.