[fpc-pascal] Equivalent of Delphi map files...

Adriaan van Os fpc at microbizz.nl
Thu Jun 21 16:16:08 CEST 2018


Peter Vreman wrote:
> The -Xm is 2.1.1 only and not available in 2.0.x. The -Xm is also 
> available for linux and can be added for other platforms if needed and 
> the linker supports it.

Is -Xm supposed to work on Mac OS X ? I don't see any file being generated, nor do I get an error 
message. The linker has

      -map map_file_path
                  Writes a map file to the specified path which details all symbols and their 
addresses in the output image.

and using for example -k"-map link-map.txt" works. It's not a big issue, but I suggest to either 
implement -Xm (if not already) or to remove it from the list of available options.

Regards,

Adriaan van Os




More information about the fpc-pascal mailing list