From: "J.W. Dare" Newsgroups: comp.os.msdos.djgpp Subject: Object file linking Date: 9 Aug 2001 21:19:03 -0500 Lines: 9 Message-ID: NNTP-Posting-Host: 216.40.2.137 X-Trace: 997409793 newscene.com 216.40.2.137 216.40.2.137 Filter-NNTP-Posting-Host: 216.40.2.137 Filter-X-Trace: 997409793 newscene.com 17923 216.40.2.137 X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Suppose I have an object file with quite a few function definitions. At compile time does all of the code in the object file get linked into the executable or just the code for the functions that are actually called by main. TIA -- J.W.Dare jwdare AT novia DOT net