Date: Wed, 2 Nov 94 21:26:49 PST From: buttrey AT stat DOT Berkeley DOT EDU (Samuel E. Buttrey) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Mem. mgmt. in djgpp Hi. Sorry to hassle the newsgroup, since after a week or so of reading it it's clear I'm out of my league here. I don't know anything about page frames and UMBs; I just want to compile C code for DOS. So I downloaded djgpp, and I can compile the sample program provided. But most compiles are very, very slow on my system (386/20, DOS 5.0, 8MB RAM); often they crash my machine entirely. A couple of readers (thanks to John Mandeville, Eli Zaretskii, and Stephen Turnbull) suggested I post my system configuration and ask, nicely, if someone has advice. So: I have 8 MB RAM. I run Windows 3.1. My config.sys always has these lines: files = 30 buffers = 30 shell=c:\dos\command.com c:\dos\ /e:1000 /p stacks=9,256 plus zero or more of these memory-management things: dos=high device=c:\windows\ramdrive.sys 1024 /e device=c:\dos\smartdrive.sys 1024 device=c:\windows\emm386.exe noems x=a000-efff Inside autoexec.bat, I set DJGPP to c:\djgpp\djgpp.env, I set GO32TEMP to d:\tmp, and I set TMPDIR to d:\tmp, too, if there's no RAMDrive and to f:\tmp if I've set up a RAMDrive. My C: drive has little space left -- maybe 2 MB -- and my D: has maybe 9 MB. I've seen a lot of discussion of these -- emm386, especially -- in the news group. The FAQ seems to recommend a RAMdrive; I've always figured caching is good; and yet I just can't get things going at any reasonable speed. Keeping in mind that I'm running DOS 5.0, can someone suggest an intelligent combination of these memory options that will help me compile in real time? Sorry, again, for the low-level hassle, Sam Buttrey (buttrey AT stat DOT berkeley DOT edu) ("The Whining One")