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

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Mar 2 09:32:59 CET 2007


On 02 Mar 2007, at 09:29, Vinzent Hoefler wrote:

>> 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?

You have to manually redirect the output to where you want it to got.  
Since linking happens on a per-program/library basis and not on a per- 
unit basis, it isn't that difficult to do this.


Jonas



More information about the fpc-pascal mailing list