www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/02/12:40:20

Date: Thu, 2 May 1996 19:31:34 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Thomas P. Witelski" <witelski AT math DOT mit DOT edu>
Cc: djgpp AT delorie DOT com
Subject: Re: GCC virtual memory exhausted
In-Reply-To: <3187644A.41C67EA6@math.mit.edu>
Message-Id: <Pine.SUN.3.91.960502192448.7833G-100000@is>
Mime-Version: 1.0

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. 

- Raw text -


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