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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to