www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/23/17:26:45

Date: Sun, 23 Oct 1994 15:28:00 -0400 (EDT)
From: Kimberley Burchett <OKRA AT max DOT tiac DOT net>
Sender: Kimberley Burchett <OKRA AT max DOT tiac DOT net>
Reply-To: 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>

  Well, after diddling around I have come up with this configuration 
which works well for me:

  1) use a batch file instead of gcc to call cpp, cc1plus, as and ld.  I 
have added rudimentary compile switch checking (-g, -pg, -c and -S).
  2) use combi.sys which is a ramdrive and disk cache in one (and it's
capable of giving up memory it takes a program asks for it).  I've got it
set so that combi will take 2.5MB for itself, and maintain a minimum of
128k ramdrive and minimum 64k cache, with write caching on. 

  I removed smartdrv, emm386, and ramdisk.
  original time for "gcc graph.cc -c" = 2:15 or so.
  new time for "cc graph -c" (my batch file) = 0:45 or so.

  Still twice as slow as when graph was a C file, but I'm content now. :)
							Kim

- Raw text -


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