Mail Archives: djgpp/1996/05/13/12:41:49
On Mon, 13 May 1996, A.Appleyard wrote:
> In djgpp v1, and in djgpp v2, is there an option to tell the loader to tell
> me of any function entry points that are present but never used? This would be
> useful letting me weed out unused functions in a big multi-file program that I
> have developed and altered much.
You could run `nm' on all the object files and look for functions that
are only mentioned with a `T' letter. Functions that are called should
be also found with a `u' somewhere.
- Raw text -