Xref: news-dnh.mv.net comp.os.msdos.djgpp:4443 From: aew950 AT leonard DOT anu DOT edu DOT au (Anthony Edward Wesley) Newsgroups: comp.os.msdos.djgpp Subject: \windows\emm386 broken, \dos\emm386 works Date: 15 Jan 1996 18:39:39 +1100 Organization: Australian National University Lines: 45 Message-ID: <4dd0br$6mg@leonard.anu.edu.au> NNTP-Posting-Host: 150.203.2.15 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I have just downloaded & installed djgpp 1.12 (gcc2.6.3) and had some strange things happen which took a while to find and sort out. Apologies to the group if I am going over well-known territory, but my problem (and its solution) was not mentioned in the FAQ, so here goes... My environment: 486dx2/66, 12Mb RAM, Linux, Windows95, DOS 6.2 / Win 3.1 (bootable off second disk) Summary: djgpp worked great under Win95 and from the dos box in Win 3.1, but ran _excrutiatingly slowly_ under dos 6.2. Eventually I discovered that using the \dos\emm386.exe instead of \windows\emm386.exe solved the problem. How I solved it: I used "topline" (nice feature...) and saw my free memory plummet from 10Mb -> 256k as soon as I started a compile. This behaviour did not happen under DPMI, explaining why djgpp ran fine in Windows 95 / 3.1. I guessed that it was a nasty XMS interaction and blamed emm386.exe. Since I had another copy lying around I tried it out of interest, and the rest is, as they say, history... I didn't realise that it was a paging problem for a while, since my hDD light doesn't work :-) If someone could explain this to me I would be interested. My setup, and the steps I went through during installation of djdpp, are not exceptional. I have been using djgpp on and off for several years and am reasonably familiar with how it hangs together (I even wrote a GRX driver for my video card a while back..) Anyway, it works fine now under all the DOS based environments I have available. Perhaps this is worthy of a paragraph in the FAQ ? cheers, anthony awesley AT galaxy DOT anutech DOT com DOT au