项目编译期间生成的信息映射文件包含哪些内容以及我如何在makefile 中启用/map 选项。
语言:c++
编译器:vc6
最佳答案
来自 Microsoft's documentation对于/MAP 链接器选项:
A mapfile is a text file that contains the following information about the program being linked:
- The module name, which is the base name of the file
- The timestamp from the program file header (not from the file system)
- A list of groups in the program, with each group's start address (as section:offset), length, group name, and class
- A list of public symbols, with each address (as section:offset), symbol name, flat address, and .obj file where the symbol is defined
- The entry point (as section:offset)
关于c++ - 什么是编译时生成的map文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1537618/