Mail Archives: djgpp/2000/04/15/00:17:33
Eli Zaretskii wrote:
> On Mon, 27 Mar 2000, Damian Yerrick wrote:
>
> > On Sun, 26 Mar 2000 08:57:25 GMT, "NLS" <eck AT home DOT nl> 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
- Raw text -