Mail Archives: djgpp/2003/02/19/15:00:07
"Ben Peddell" <lightspeed85 AT hotmail DOT com> wrote in message
news:QqK4a.51044$jM5 DOT 127842 AT newsfeeds DOT bigpond DOT com...
>> Why not find out whether the drives are spinning-up before or after the
> open() is issued, by printing something before the open(), and waiting for
> user input.
I could do that but I suspect that printf uses open() as well so it wouldn't
prove anything. It would be better to remove the open() call and see if the
same thing happens.
> If it is occurring before the open(), then it is probably the stub loader
> searching for CWSDPMI.EXE on the path. If you don't want this to happen,
> then ensure that DPMI is active before running the program.
I'll check it out but like I reported, MinGW doesn't have this problem so I
see no reason to change my system config to make DJGPP work. I know there
are probably a lot of good reasons to use DJGPP over MinGW but I don't want
to (re)start a religious war over that :-) I'm merely reporting a problem
that someone may want to reproduce and fix.
Thanks,
Sander
- Raw text -