Date: Tue, 4 Sep 2001 11:37:25 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: galasso cc: djgpp AT delorie DOT com Subject: Re: gcc hello.c -o hello.exe 55 seconds to compile and link In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 4 Sep 2001, galasso wrote: > I ran go32-v2 and it reports : > DPMI memory available 129471kb > DPMI swap space 0kb ZERO swap size? This is a plain DOS system, right? So you are using CWSDPMI as your DPMI host, right? And your C: disk is writable, correct? Then how come you have no swap space? > my config.sys file has the following entries: [...] > loadhigh c:\dos\smartdrv.exe c+ d+ f+ 8192 This line should go to autoexec.bat, not to config.sys. See section 3.9 of the DJGPP FAQ list. Also, I suggest to add the /n switch, for better disk performance. > It took gcc hello.c -o hello.exe 55 seconds to compile and link. > This was a one line program. What am I missing ? (or is this normal) This is NOT normal (takes less than half a second on my P860). It's probably slow because you didn't set up the disk cache correctly. See section 7.1 of the FAQ for other possible reasons, and for info about the compilation speed you should expect. > Should I install himem and set up a ram disk for work files for gcc ? (how) RAM disk generally helps, see the advice in section 3.9 of the FAQ.