From: Eddy Siauwidjaja To: Eli Zaretskii Date: Tue, 6 Feb 1996 12:42:57 +1100 (EST) Cc: dj AT ctron DOT com, djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Running djgpp & djgdb under windows environment. On Thu, 30 Nov 1995, Eli Zaretskii wrote: > > On Thu, 30 Nov 1995, Eddy Siauwidjaja wrote: > > > I tried to use gcc & go32 -d gdb which is OK under DOS environment. > > But when I go to windows environment, I open a new MS-DOS prompt, > > then try to do the same thing, the following happen : > > - Whenever I use a floating point, the program freezes (including the > > the Windows Environment) > > Does your computer lack floating-point hardware? In DJGPP v1.x, floating > point emulation doesn't work in DPMI environment, and DPMI is the only > way DJGPP can run under Windows. V2.0 (soon to be released) solves this. IS THE NEW REALEASE Ready yet ? Thank you for your attention. > > This is explained in the DJGPP FAQ list (available as faq102.zip from the > same place you get DJGPP), Chapter 11. > > > - I can't use the debugger even with go32 -d gdb-dpmi switch. > > You should ONLY use the gdb-dpmi debugger when under Windows, because > only it supports the DPMI environment; you should use go32 -d gdb ONLY > outside Windows, and only if you don't have a DPMI server (such as QDPMI) > installed outside Windows, because it won't run under DPMI. See Chapter > 12 of the FAQ list. > > Is the failure to debug revealed with ANY program, or just the ones which > refuse to run under Windows because of the floating-point problem above? > E.g., can you debug the `Hello, world!' program? > /// Eddy SIAUWIDJAJA 00 eddys AT cse DOT unsw DOT edu DOT au \/ http://www.cse.unsw.edu.au/~eddys Computer Science & Engineering Department University of New South Wales Australia CR-312