delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/21/23:44:37

Date: Fri, 21 Oct 1994 22:53:50 -0400 (EDT)
From: Kimberley Burchett <OKRA AT max DOT tiac DOT net>
Subject: C++ compile speed tips?
To: DJGPP Mailing List <djgpp AT sun DOT soe DOT clarkson DOT edu>

  Given the fact that the C++ compiler seems to crash every time I 
misspell something (quite often, in other words) and the fact that I only 
have 4MB RAM and it's swapping almost continuously, trying to compile a 
program is getting to be very difficult.  It will take a minute and a 
half to get to line 150 (after going through 500 lines of #includes or 
so) and then give me one or two errors and crash.  I fix those errors and 
then it takes another minute and a half to find the next two.  At first I 
was just accepting this, but after 15 compiles or so it gets REALLY 
tedious.  I've tried moving as much as I can from headers into the 
corresponding source files, but some stuff just has to stay in the 
header.
  So, since it would seem that most of the time is spent swapping, I'm
wondering if perhaps increasing SmartDrive's cache size would help. 
Changing from gcc to gccrm helped some - from 2:15 minutes to 1:40 minutes
(and I used to complain that the C compiler took 20 seconds!).  I don't
have any TSR's I'd be willing to give up (I've already made the biggest
one unload and then reload at the beginning and end of my compile batch
file). 
  Does anybody have any speed tips for those of us who are still running 
a 486sx25 with 4MB ram? :)  I've exhausted all the possiblities I can 
think of.
							Kim

- Raw text -


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