Date: Thu, 2 May 1996 19:31:34 +0200 (IST) From: Eli Zaretskii To: "Thomas P. Witelski" Cc: djgpp AT delorie DOT com Subject: Re: GCC virtual memory exhausted In-Reply-To: <3187644A.41C67EA6@math.mit.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 1 May 1996, Thomas P. Witelski wrote: > First: I have 4M ram, QEMM 7, Windows 3.1 > > 1) When I try to run a djgpp compiled program under DOS, it just dies > and gives me a message about a SIGSEGV error (even when I have run > cwsdpmi), however, when I run the same program in a DOS box under > windows, it works fine.....? Do you install QDPMI from QEMM? If you do, you should know that it has many problems in that version of QEMM (some of them are described in the DJGPP FAQ list, get faq200b.zip from the same place you get DJGPP). Either upgrade to QEMM 8, or uninstall QDPMI, or just disable it before you run DJGPP programs. Again, the FAQ describes how, if you don't know. > 2) More Seriously: when i compile source with gcc in a DOS box under > windows 3.1, my DPMI memory as reported by go32-v2 goes down after > each compilation...after about 4 or so compiles, gcc dies and says > virtual memory exhausted... Launch the PIF editor and open the file `dosprmpt.pif'. Set the EMS and XMS maximum values to -1. Then try again. If that doesn't help, post the exact output of go32-v2 before you start and after each compilation, until it dies.