delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/03/09:55:39

X-Authentication-Warning: ieva01.lanet.lv: pavenis owned process doing -bs
Date: Fri, 3 Sep 1999 10:02:19 +0300 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: ingrama <ingrama AT res DOT raytheon DOT com>, djgpp AT delorie DOT com
Subject: Re: Help please: problem making allegro
In-Reply-To: <Pine.SUN.3.91.990902110119.4794P-100000@is>
Message-ID: <Pine.A41.4.05.9909030955470.62572-100000@ieva01.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


Once I did wrote some test program to check this descriptor leak.
I gor following results:
	Win9X, DOSEMU-0.99.12 - this problem is present
	WinNT 4.0 + SP3 - seems that there were no such problem (perhaps I
		should check it once more). However there may be leaks
		of DOS memory (below 1Mb) still

Allegro is not so large project to get this problem from Allegro alone
(of course if one is running under DJGPP port of emacs or even simply
bash and has built many other things without quitting to DOS session,
then it's possible.

Andris

On Thu, 2 Sep 1999, Eli Zaretskii wrote:

> 
> On Wed, 1 Sep 1999, ingrama wrote:
> 
> > gcc -s -o examples/ex6.exe obj/djgpp/ex6.o lib/djgpp/liballeg.a
> > Load error: no DOS memory
> > make.exe: *** [examples/ex6.exe] Error 1
> 
> I believe that what you see is a manifestation of the NT bug, whereby
> the DOS box loses DPMI resources when a DJGPP program (in this case,
> Make) calls a lot of subsidiary DJGPP programs (in this case, all the
> instances where it called GCC, which in turn called the various
> compiler passes and the linker).  See section 3.3 of the DJGPP FAQ
> list for more details.
> 
> If my guess is correct, either typing "make" again, or closing the DOS
> box, starting another one, and *then* typing "make" whould allow you
> to run the build process to completion.
> 

- Raw text -


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