Date: Sun, 10 May 1998 12:21:52 +0300 (IDT) From: Eli Zaretskii To: Gillepileptic cc: djgpp AT delorie DOT com Subject: Re: restoring an allegro app. In-Reply-To: <894722214.10345.0.nnrp-01.c1edaebc@news.demon.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sat, 9 May 1998, Gillepileptic wrote: > 2) All my program work fine under dos 7, but seem to have problems under DOS > 6.0. e.g., I couldn't compile the Allegro library under DOS 6, and GB97 > produces a GPF when it's finished if it's been called from my loader app. If ``DOS 7'' means Windows 95, then such problems almost invariably mean that there's a bug in your program which goes undetected under Windows 95. When you work on plain DOS, DJGPP programs use the CWSDPMI program as the DPMI host, and CWSDPMI is much less tolerant to bugs whereby you try to access null pointer or do other forbidden things. You should try to debug your program on DOS, using the crash traceback as the beginning. > Is this because my gcc compiler is compiling for the windows95 DPMI server? > I told the zip-picker I would be using Win95. The code produced by the compiler doesn't depend on the DPMI server.