delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/02/02:54:40

Date: Wed, 2 Apr 1997 10:46:11 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Matthew H. Gerlach" <gerlach AT netcom DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Illegal Instruction using make
In-Reply-To: <gerlachE7yuEy.7By@netcom.com>
Message-ID: <Pine.SUN.3.91.970402104542.23151E-100000@is>
MIME-Version: 1.0

On Tue, 1 Apr 1997, Matthew H. Gerlach wrote:

> Yesterday, I grabbed a v2 binary for make version 3.75, and tried running
> it in a Win95 DOS shell.  When I made a trivial makefile that will compile
> a single C file using TI's compiler for dsp processors, Win95 reported
> an illegal instruction error. 

Is that TI compiler a protected-mode program that uses some kind of
DOS extender?  If so, it sounds like an incompatibility between DJGPP
and that extender.  One possibility is that the compiler you are
trying to run is a 16-bit DPMI program; in that case, it cannot be run
at all from within DJGPP's Make which is a 32-bit DPMI program,
because the DPMI spec prohibits having 16-bit and 32-bit DPMI programs
run at the same time.

Your best bet would be to look for a real-mode version of that
compiler and use it instead.

Btw, does that compiler run by itself (from the DOS box command line)
on Windows 95?

Another idea that comes to mind is that DJGPP's support of long
filenames on Windows 95 somehow causes trouble to that compiler.  Set
LFN=n from the DOS prompt and try again, to see if that helps.

> but rather I just got make.exe.  Do I need the entire distribution if
> I just want to use make?  Do I need bash to run make?

You don't need the entire DJGPP distribution to run Make.  Bash is
only required if your Makefile uses shell commands and syntax that
assume a Unix-style shell; I understand that your simple Makefile
didn't use them.

- Raw text -


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