Date: Wed, 2 Apr 1997 10:46:11 +0300 (IDT) From: Eli Zaretskii To: "Matthew H. Gerlach" cc: djgpp AT delorie DOT com Subject: Re: Illegal Instruction using make In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.