delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/12/23:15:57

Date: Mon, 12 Apr 1999 20:15:35 -0700 (PDT)
From: MATTHEW WENG <mweng AT cory DOT EECS DOT Berkeley DOT EDU>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: MATTHEW WENG <mweng AT cory DOT EECS DOT Berkeley DOT EDU>, djgpp AT delorie DOT com
Subject: Re: Executables don't run in DOS
In-Reply-To: <Pine.SUN.3.91.990411141330.28502Y-100000@is>
Message-ID: <Pine.OSF.3.96.990412200711.683A-100000@octans.EECS.Berkeley.EDU>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


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