Date: Mon, 19 Feb 1996 07:28:38 +0200 (IST) From: Eli Zaretskii To: Raymond McKendall Cc: djgpp AT delorie DOT com Subject: Re: Slow compilation under DJGPP v2.0, newcomer to DJGPP In-Reply-To: <4g2v3a$mgf@netnews.upenn.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 16 Feb 1996, Raymond McKendall wrote: > Compilation of the following C program under DJGPP v2.0 > takes about 18 seconds, wall clock. Impatient, are we? Most of the speed complains about gcc tell about compilation times like 10 minutes or so... Seriously, if you want to test the speed of compilation on your system, don't start with such small programs, where the overhead of the multi-pass compiler like gcc is the main factor. Try compiling larger program, say a few hundreds of lines and test against the table in the FAQ. > I tried the FAQ > suggestions for my setup summarized below. There is no FAQ for v2.0 yet; the suggestions in the old FAQ aren't all valid for v2. However, on your machine, there isn't much you can do. > OS: DOS box under Windows 3.1 What memory settings did you put on the .pif file for DOS box? What does go32-v2 print when invoked with no arguments in the DOS box? > Network: Novell NetWare 4.1 Is DJGPP installed on a networked drive? If not, how is the fact you use Novell relevant? > Disk caching: SmartDrv c+ 2048 > RAM Drive : 2M > TMPDIR to RAM drive I would suggest enlarging the size of the disk cache, even if it means to disable the RAM drive completely. If you use SmartDrv 5.0 (the one which comes with DOS 6.x), be sure to use its /N switch to make it a true write-back cache.