From: "Tom Morton" Newsgroups: comp.os.msdos.djgpp Subject: Re: Program too large? Date: Tue, 28 Sep 1999 13:23:57 +0100 Organization: Yikes Station Ltd. Message-ID: <7sqj96$kee$1@news8.svr.pol.co.uk> References: NNTP-Posting-Host: modem-116.androderm.dialup.pol.co.uk X-Trace: news8.svr.pol.co.uk 938528870 20942 62.136.52.116 (28 Sep 1999 14:27:50 GMT) NNTP-Posting-Date: 28 Sep 1999 14:27:50 GMT X-Complaints-To: abuse AT theplanet DOT net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Lines: 31 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote in message news:Pine DOT SUN DOT 3 DOT 91 DOT 990928092947 DOT 17309E-100000 AT is... > > On Tue, 28 Sep 1999, Tom Morton wrote: > > > The last thing I did before it stopped working was add an extra function > > to main.c. I tried re-compiling it but it still didn't work so I moved it > > [the function] to another source file and everything worked again. > > Oh well, as long as it works... > > FWIW, I don't like such ``solutions''. There's some problem lurking > in your code, waiting to bite you again. It is better to debug it now > than to sweep it under the carpet. How do you know that the problem, > whatever it is, doesn't introduce a subtle bug into your program that > you simply don't see? > > Feel free to post more details, if you want to pursue this further. I am using a makefile. The only compiler options i'm using are -s and -O2 (and -lalleg). I often see makefiles with -Wall. Maybe I should add that, too (?). -- Yikes Station: The Best Frontier Elite 2 Website http://www.yikesstation.freeserve.co.uk/frontier/yikes.htm Tom 'Moretom' Morton