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

HTH 

John   

-----Original Message-----
From: Peter Vreman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 09:27
To: [EMAIL PROTECTED]
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
> DOS)???
> I'm not concerned that it is doing anything wrong (I've never had a
> problem
> 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  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



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.

Attachment: look_map12.zip
Description: Binary data

Reply via email to