Date: Wed, 26 Jul 1995 13:25:10 +0300 (IDT) From: Eli Zaretskii To: Philip Andrew Dunstan Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: GCC hangs when EMM386 not loaded On 25 Jul 1995, Philip Andrew Dunstan wrote: > > When I run GCC (version 2.6.0) it hangs if EMM#*^.exe is not loaded. The > problem is I want to access a framegrabber card, and I can only access it > correctly when EMM386.EXE is not loaded. > > Any suggestions? Yes. The version you have had a bug in one of the library functions which caused exactly this behavior. It's explained in the DJGPP FAQ list (available as faq102.zip from the same place you get DJGPP): 6.2 Q: When I try to compile anything, my computer either reboots or hangs so hard it needs a cold reboot... A: If you use DJGPP 1.12m3, get and install 1.12m4 maintenance release and the latest gcc binary distribution (gccNNNbn.zip). 1.12m3 and gcc 2.6.3 which came with it had a bug in one of the library routines which would cause these problems under XMS driver (such as HIMEM). Alternatively, you could install a VCPI server like EMM386 or QEMM386, or work under DPMI (like Windows), because that problem doesn't appear in these environments. Several people have reported that DJGPP would not run with EMM386.EXE which comes with MS-DOS 5.0, but works fine with EMM386 from DOS 6.2x.