delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/10/05:25:12

Date: Sun, 10 May 1998 12:21:52 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Gillepileptic <inbox AT demon DOT co DOT uk>
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: <Pine.SUN.3.91.980510121803.16252M-100000@is>
MIME-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019