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

Vinzent Hoefler JeLlyFish.software at gmx.net
Fri Mar 2 09:29:32 CET 2007


On Friday 02 March 2007 08:19, Jonas Maebe wrote:
> On 02 Mar 2007, at 09:03, m utku wrote:
> > Hello again :), I just forgot to ask; Delphi has an option to
> > generate a so called "map file" that contains the function
> > addresses matched with the function names when an executable
> > compiled. What would be the equivalent FPC functionality for this?
>
> man ld -> search for "map" -> there is a "--print-map" option -> tell
> FPC to pass this option to ld using FPC's -k option:
>
> -k--print-map

Hmm. And then how to redirect the linker's standard output to a file 
named the same as a the source?


Vinzent.




More information about the fpc-pascal mailing list