Message-ID: <38F7F2CD.BD3034C1@unb.ca> From: Endlisnis X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP and Win2K References: <38E8D282 DOT 3099144C AT americasm01 DOT nt DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 51 Date: Sat, 15 Apr 2000 04:39:14 GMT NNTP-Posting-Host: 24.114.6.233 X-Complaints-To: abuse AT home DOT net X-Trace: news1.rdc1.on.wave.home.com 955773554 24.114.6.233 (Fri, 14 Apr 2000 21:39:14 PDT) NNTP-Posting-Date: Fri, 14 Apr 2000 21:39:14 PDT Organization: @Home Network Canada To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > On Mon, 27 Mar 2000, Damian Yerrick wrote: > > > On Sun, 26 Mar 2000 08:57:25 GMT, "NLS" wrote: > > > > >when I compile with DJGPP under win2k, ntvdm crashes.. > > > > This is because NTVDM 5 doesn't like DJGPP programs calling DJGPP > > programs. It's also because Micro$$$oft would rather that you use > > Micro$$$oft Visual Crap++. > > Here's an idea (and a plea ;-) for a simple but very useful project: > find out what exactly causes NTVDM to crash when a DJGPP program invokes > another DJGPP program. > > This involves downloading the library sources (v2/djlsr203.zip), pulling > dosexec.c file out of it, writing a small test program that invokes > another DJGPP program, then tracing the execution of dosexec.c > functions, > either in a debugger or with added printf statements, and reporting here > where exactly does that crash happen. > > I don't have access to Windows 2000, so I cannot do this myself. > Knowing where the crash happens is a necessary first step towards looking > for a > work-around. If you care about DJGPP being workable on W2K, please help > us solve this nuisance. I tried some stuff in Win2k. What I found was a little puzzling... It only seems to crash after gcc has compiled something. I tried it with SetEdit as well. I told SetEdit to run "gcc a.cc -o a.exe". It ran fine, but then crashed when I hit a key (any key). I told SetEdit to run "ls". Proper output was printed, and that did not crash anything. I told SetEdit to run "gcc". The 'no input files' message was printed and i did not crash. I tried running bash, and then ls and other stuff from there. Nothing caused a crash. Maybe it had to do with whether the sub-djgpp program opens files... I'll check that later... -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT HotMail DOT com ICQ: 32959047