Mail Archives: djgpp/1999/09/03/09:55:39
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 -