Mail Archives: djgpp/2001/09/04/04:36:53
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.
- Raw text -