On 02 Mar 2007, at 09:32, Jonas Maebe wrote:

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

Or you can search a bit further in the man page until you arrive at this option:

       -Map mapfile
Print a link map to the file mapfile. See the description of the
           -M option, above.

-k"-Map mapfile"


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to