delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/08/08:52:38

From: gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: help speeding up DJGPP under Win 95
Date: 8 Mar 1997 10:44:00 GMT
Organization: Oxford University
Lines: 23
Message-ID: <5frftg$gmp@news.ox.ac.uk>
References: <32d2e428 DOT 9026636 AT news DOT primenet DOT com>
NNTP-Posting-Host: mc31.merton.ox.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Mike McLean (libolt AT goodnet DOT com) wrote:
: I am running DJGPP under windows 95 on my Pentium 133 with 40 megs of
: RAM.  I know that GCC is not loaded into memory automatically like
: other compilers, but I would like to know if there is a way to store
: it in memory so it will compile faster, please let me know if this is
: in the FAQ, or atleast a way to do it.  Many thanks

Section 3.9 of the FAQ explains several sensible system configurations
for various (low!) amounts of RAM. With 40 Mb, you should have plenty.
If Windows 95 allows it (I'm not sure), make a RAM disk, perhaps about
5 Mb, and SET TMPDIR=E:\ or whatever the RAM disk letter is. This should
improve performance.

If the linking stage is the slow part, you could try increasing the size
of LD's transfer buffer.

Note that GCC will run faster if you give it less to do. If you put
switches on the commandline to enable optimisation, it takes longer than
if you leave them out.

-- 
George Foot <gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk>
Merton College, Oxford.

- Raw text -


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