From: Andrew Innes Newsgroups: comp.emacs,gnu.emacs.help,comp.os.msdos.djgpp Subject: Re: djgpp and dpmi under Emacs for win95 Date: 23 Oct 1997 19:52:48 -0700 Organization: Harlequin Ltd. Lines: 35 Message-ID: References: <277mbiwrzm DOT fsf AT Erebus DOT dsto DOT defence DOT gov DOT au> NNTP-Posting-Host: localhost.cam.harlequin.co.uk Cache-Post-Path: cnn!unknown AT wibble DOT long DOT harlequin DOT co DOT uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Anthony Mills writes: > Eli Zaretskii writes: > > On 10 Oct 1997, Anthony Mills wrote: > > > > > We're trying to use Emacs for an IDE to djgcc (we need fortran > > > to port our unix software so cygnis is no good) unfortunately it runs > > > out of memory. Under a dos box we can specify dpmi and all compiles > > > fine. Is there any way to specify dpmi under a shell in Emacs for > > > Win95? > > > > In Explorer, click on gcc.exe with the right mouse button and choose > > Properties. Now press the Memory tab and click inside the DPMI Memory > > field. Manually type in the number 65535, then click Apply, then > > click OK. the next time you launch gcc, it will get 64MB of virtual > > memory; this is the most DOS programs can get on Windows 95. > > > > (Btw, this forum has nothing to do with such problems; you should post > > to the comp.os.msdos.djgpp news group instead. Please post any > > follow-ups there.) > > Maybe I didn't make myself clear, we CAN compile under a dos box in > win95 this way (geting 64Mb). What we can't do is get EMACS to give > more than 30 meg when it spawns a proces like shell. We are trying to > use EMACS as the IDE for djgpp. If I type M-x compile the process > spawned by EMACS only allows 30Mb (swap and conv), this is easy to test > by writing Makefile that runs go32-v2.exe. We have even tried running > Emacs with the bat file and giving it 65535 bytes dpmi but Emacs still > only gives 30Mb dpmi. Emacs is one of the best IDEs I've used (I've > been using it for years under unix) and we would like to keep using it. On Windows 95, Emacs (the Windows version that is, not the DOS version) will get the VM memory settings for subprocesses from c:\win95\system\conagent.pif. AndrewI