www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/27/08:16:02

From: user AT ts001d22 DOT cin-oh DOT concentric DOT net (Test User)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Make works on some machines, not others
Date: 27 Sep 1998 05:07:36 PDT
Organization: Concentric Internet Services
Lines: 55
Message-ID: <slrn70rt4c.5bh.user@ts001d22.cin-oh.concentric.net>
References: <6u5qlv$s1k$1 AT wbnws01 DOT ne DOT highway1 DOT com>
NNTP-Posting-Host: ts001d22.cin-oh.concentric.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <6u5qlv$s1k$1 AT wbnws01 DOT ne DOT highway1 DOT com>,
cwright AT zoinks DOT ne DOT mediaone DOT net wrote:

>Hello,

>I'm heading an embedded sw development effort and I would like to use
>GNU make because I'm very familiar with it from Linux.  I downloaded
>the make binaries for DOS and installed them on several computers.

>Make works just fine on several computers.  However, on a couple of
>important machines, make will crash on every invocation with the
>following error message:

>  General protection exception
>  Fault location 0277:0044
>  Interrupts in service: 1
>
>The message appears in a little window in front of the DOS box

>and when I click OK, the DOS box disappears.
>Does anyone have any idea what's going on here?  Why does it work on
>some machines but not others?  The thing that's crazy is that make
>works fine on one IBM 560 laptop, but not on another - and both were
>bought at the same time...

Sounds to me like you're running Windows. That's what's going on. 
Windows and DOS are not designed to be totally compatible. That's
what you get for using Wind'oh!s. Exit Wind'oh!s (or "restart Windows
in DOS mode" to use Gatespeak) and run Make in pure DOS. If you're
running NT, forget about it completely and try to find a Windows
native version of GNU Make, or convince your company to abandon the
DOS effort and develop your program for Linux. DOS sucks anyway,
and you'll probably have to port your program to Linux by the time
your project's finished anyway, taking into account that in a couple
of years the M$ Exodus will be in full swing and most people will be
looking for Linux programs, not more DOS or Winblows.

>I've read the FAQ on how to troubleshoot this sort of thing, which
>involves running the symify program on the stack dump.  There doesn't
>appear to BE a stack dump here...

If your DOS box is dying, then it's more than just GNU make crashing.
The error message is appearing in a separate window, which means that
Windows is causing the error. This isn't a regular crash that can
even be _detected_ by gdb. Your DOS box would crash before GDB would
know what's going on. Run make from DOS (without Windows running)
and see what happens.

>Thanks for any help!

>Charles Wright
>--
>Linux rules!!!  Windows sucks!!!

Damn straight.

- Raw text -


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