Date: Mon, 13 May 1996 19:26:46 +0200 (IST) From: Eli Zaretskii To: "A.Appleyard" Cc: DJGPP AT delorie DOT com Subject: Re: Functions declared but never used In-Reply-To: <3F5079432D3@fs2.mt.umist.ac.uk> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.