John.Lee at logicacmg.com
Wed Mar 19 15:36:10 CET 2003
Here's a program I wrote some time ago (it's been tested with with
win32,go32v2 & linux) to help you to analyse the map file - I didn't find it
easy! And a readme...
From: Peter Vreman [mailto:peter at freepascal.org]
Sent: Wednesday, March 19, 2003 09:27
To: fpc-pascal at deadlock.et.tudelft.nl
Subject: Re: [fpc-pascal]Smartlinking question
> Hi all -
> Is there anyway I can tell exactly which procedures/functions/methods etc.
> are being discarded when I build an EXE with smartlinking (Win32 or
> I'm not concerned that it is doing anything wrong (I've never had a
> with it at all) but I would just like to see how much of my units' code is
> actually being used in a given application... thanks!
Add -k-M to let ld generate a map file
fpc-pascal maillist - fpc-pascal at lists.freepascal.org
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5410 bytes
Desc: not available
More information about the fpc-pascal