> compile with debug info, and dump all the symbols with 
> objdump (part of 
> fpc). to estimate the size, sort them by address and get the 
> diff to the 
> next symbol.
> 

Or compile with -Xm. This generates a big .map file that explains what
modules are linked, symbols referenced in each module, code removed by the
smart linking and finally the memory map of the executable with the position
and size of every module.
Don't know if this is working and with the same verbosity on all platforms.

Ludo


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to