Mail Archives: djgpp/1999/04/12/23:15:57
Everything causes the system to reboot, all djgpp-built programs, gcc,
gxx, etc. I compiled the hello program on
an NT machine and moved the executable to the DOS one. I don't think that
it's the program code because it runs fine on NT, but I'll post it, and
the autoexec.bat and config.sys files when I get back on that machine
tomorrow. I'll also try the go32-v2.exe program and see what happens. My
guess is that it'll also reboot like everything else. I think it is
CWSDPMI that is the problem because NT doesn't use CWSDPMI. If it helps,
the offending machine is an embedded PC-104. It has a 386 processor and
is, of course, running DOS.
Thanks,
Matthew Weng
On Sun, 11 Apr 1999, Eli Zaretskii wrote:
>
> On Fri, 9 Apr 1999, MATTHEW WENG wrote:
>
> > I am having problems running DJGPP-built programs in DOS.
>
> *Any* DJGPP-built programs, or just some?
>
> For example, does go32-v2.exe (which comes with djdev202.zip package)
> work, or does it also reboot the machine?
>
> > I wrote a
> > "hello world" program to test it and it runs fine under Windows NT, but
> > when I move hello.exe to a DOS machine, my computer reboots immediately
> > when I try to run the program. I am using CWSDPMI so what could be
> > causing the problem?
>
> Either a bug in the program itself (hello world programs can also have
> bugs) that goes uncaught on NT, or some problem with your
> installation. Please post the source of the hello world program, and
> if go32-v2.exe also reboots, please also post the contents of
> AUTOREXEC.BAT and CONFIG.SYS from the offending machine.
>
>
- Raw text -