From: "Campbell, Rolf [SKY:1U32:EXCH]" Newsgroups: comp.os.msdos.djgpp Subject: Re: Compiling with DJGPP.... how can I speed it? Date: Wed, 22 Mar 2000 13:32:54 -0500 Organization: Nortel Networks Lines: 37 Message-ID: <38D911D6.D1671C95@americasm01.nt.com> References: NNTP-Posting-Host: wmerh0tk.ca.nortel.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.72C-CCK-MCD [en] (X11; I; HP-UX B.10.20 9000/785) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > I doubt that 10 seconds would be enough to correct an error, at least > not in most cases. > > Anyway, if you use the right tools, you can start correcting the > errors without waiting for the compiler to finish. Yes, but I can't start recompiling until the other compilation finishes. At least I can't in the specific setup I'm using... > > The point being, if my code doesn't compile in < 2 seconds, I > > look for ways to speed it up. I realize that, beyond some limit, > > there is nothing I can do, and if most of the time is spent in the > > linker stage, there's not much I can do, but 10 seconds is a long > > time for most of us. > > Please note that 10 seconds is what it should take for a 10,000-line > source to compile. Anyone who writes such long source files has *got* > to be prepared to wait for the compiler. Or to split it up in to smaller chunks and use 'make' without the '-k' option. > Most files of a _reasonable_ size will indeed compile in less than 2 > seconds, even on a P166. And that's precisely why I'm spoiled (most of my code compiles so damn fast under djgpp, I don't even see the boxes pop up in rhide). I think of a compiler as a tool that helps me write code, not just makes the executable. -- (\/) Rolf Campbell (\/)