Date: Sun, 16 Mar 1997 15:52:10 +0300 (IDT) From: Eli Zaretskii To: Paul Derbyshire cc: djgpp AT delorie DOT com Subject: Re: RHIDE 1.1 under MS-Windows 3.11 In-Reply-To: <5gamcd$bie@freenet-news.carleton.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 14 Mar 1997, Paul Derbyshire wrote: > I'm not sure. When I use RHIDE in Windows 95, I can't compile, only work > on source, but I have isolated it as memory problems. For some reason > RHIDE and other DJGPP progs only seem to use one meg of disk space for > swap in Windows, even though I have seventy meg free with and without > windows on that drive. The most probable reason for this is that your DOS box is not configured correctly. Did you type the value 65535K in the DPMI memory setting of the DOS box property sheet, as the FAQ tells (section 15.6)? > (The Windows swap file is permanent, 20 meg, and on > the other hard drive, so it isn't eating up the disk space for DJGPP's > swap.) AFAIK, on Windows the swap space comes from the Windows swap file, not from DJGPP-specific swap file. DJGPP programs don't have anything linked into them that creates/opens a swap file; they expect the DPMI host to handle that. > or a bug in GCC I don't know). If I shell to DOS from RHIDE and gcc, or > gxx, I get Load error: no DPMI memory. Strange given there are about six > megs of DPMI memory, How do you know how much DPMI memory is there available? Run go32-v2 with no arguments, and whatever it reports is the amount of memory available to DJGPP programs. If that amount seems too low, you should debug your configuration. > less RHIDE's 300K, which should actually be paged > entirely to disk during a shell(!), and the 40K max of source code in > editors (which should also be paged...a DJGPP app does page out its stack > and heap as well as code entirely, when shelling, doesn't it?) Not necessarily; DJGPP generally leaves it to the DPMI host to page out the parent as needed. Please read the DJGPP FAQ list, section 15.8 for more details on this.