delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/27/09:59:02

Date: Thu, 27 Mar 1997 17:42:36 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: deltaman AT swipnet DOT se
cc: DJGPP ML <djgpp AT delorie DOT com>
Subject: Re: Optimising compiler performance
In-Reply-To: <333A47E2.3344@geocities.com>
Message-ID: <Pine.SUN.3.91.970327173728.10107C@is>
MIME-Version: 1.0

On Thu, 27 Mar 1997, Deltaman wrote:

> I have heard about optimising compiler performance by using a ram drive
> to keep all tmp directories, but I'm not sure what variables I should
> set in autoexec.bat. I've a ram drive of 16mb so that should be enough.

You should set the TMPDIR environment variable.  Note that detailed
instructions about optimizing DJGPP setup are included in the DJGPP FAQ
list, section 3.9; please read it. 

> Also, should I copy everything in djgpp\bin to my ram drive too? 

If you have enough place there, yes, but it isn't required, strictly
speaking, and AFAIK will only have significant effect if you need the
first compilation to be as fast as possible.  It is better to set up a
large disk cache, which will then service DOS I/O calls out of memory
anyway; then you don't need to decide what you should and what you
shouldn't copy to RAM drive. 

- Raw text -


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