map Link Option

Syntax: Default:
link(map[, yes])
link(map, fileName)
link(map, no)
link(map, no)

This option controls whether the linker produces a map file, and optionally specifies the name of the map file. By default a map is not created.

If link(map, yes) is set, the map file generated will have the same base name as the module being created, and its extension will be .map.

The map option is set implicitly to yes by link(lineNum).

This option is implicitly set to no when file(syntaxOnly) or pp(preprocessOnly) are in effect.

The map shows the composition of each segment and lists all the public symbols defined in the module being built. The symbols appear in two lists, one sorted by name and one sorted by address.



Incremental C++ Builds
C Compilation
Configuration Files
Sections and Segments


Set Build Options
Build


Link Options
Link Options