delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/06/14/02:47:23

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Andris Pavenis <pavenis AT latnet DOT lv>
To: djgpp AT delorie DOT com
Subject: Re: NTVDM error
Date: Mon, 14 Jun 2004 09:48:56 +0300
User-Agent: KMail/1.6.2
References: <b9a713e7 DOT 0406132009 DOT 489fa64e AT posting DOT google DOT com>
In-Reply-To: <b9a713e7.0406132009.489fa64e@posting.google.com>
MIME-Version: 1.0
Message-Id: <200406140948.57590.pavenis@latnet.lv>
Reply-To: djgpp AT delorie DOT com

On Monday 14 June 2004 07:09, Nish wrote:
> The djgpp website says that djgpp images may not work properly under
> Win 2K/XP and that the cure is to use binaries dated after December
> 2001. Does this mean (1) the djgpp compiler itself may not work or (2)
> the code that it produces may not work? I have the second type of
> problem. A client is reporting that code compiled with djgpp works on
> some XP machines but not on others. The error is
>
> "The NTVDM CPU has encountered an unhandled exception."

One must have binaries new enough (linked using the last update of 
djdev203.zip, or maybe beta version of djdev204.zip (also CVS versions
of latest could work)).

All latest versions of compiler and binutils are compatible with WinXP
(and perhaps Win2K, I myself have tested WinXP Pro only). 

So You must make sure you have djdev203.zip new enough:
	'version: 2.03 patchlevel 2' in manifest/djdev203.dsm
Also the other packages must be new enough (newer than date mentioned above)

Comments about some other packages:

Simply installing packages from http://clio.rice.edu/djgpp/win2k/main_204.htm
doesn't seem to be enough. Part of them however work.

BASH: 

binaries (bsh204b.zip) from DJGPP distribution is Ok for me (sucessfully
built gcc-3.3.4 from sources, when it was installed. bash-2.0.5b (DJGPP 
sources from clio.rice.edu, binaries both from the same place and my build)
didn't work reliably (it reliably jumped out of DPMI, it doesn't seem to
be a random failure). I have installed DJGPP on one more WinXP box, but at 
this moment I cannot test which bash version I have put there, but it worked 
mostly Ok.

FIND:

Randomly fails with a message, that some of parent directory has been changed.
Rebuilding using current CVS version of DJGPP libc doesn't help. As far as I 
remember on other box I patched sources to workaround this problem

It's possible that something else were broken, but I rebuild many packages
from sources, before figured out that bash-2.0.5b doesn't work for me and I 
should use bash-2.0.4 binaries from DJGPP distribution.

Andris

- Raw text -


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