www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/13/12:41:49

Date: Mon, 13 May 1996 19:26:46 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
Cc: DJGPP AT delorie DOT com
Subject: Re: Functions declared but never used
In-Reply-To: <3F5079432D3@fs2.mt.umist.ac.uk>
Message-Id: <Pine.SUN.3.91.960513192521.28725F-100000@is>
Mime-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019