delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/06/26/11:54:22

From: john AT ERA DOT COM (John E Hein)
Subject: MAKE.EXE: /bin/sh: Command not found
26 Jun 1997 11:54:22 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199706261603.MAA05067.cygnus.gnu-win32@lorax.ERA.COM>
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I am running under Windows 95 (command.com... not bash).
When I run make, I get the following error:

MAKE.EXE: /bin/sh: Command not found

Here's my makefile:

% cat makefile
all:
	ls -1 > ls.txt
	gcc c.c -o c.exe

If I don't redirect (i.e., just 'ls -1'), it works fine.

I don't have a /bin directory, I just have the gnu-win32 tools (make, ls,
 etc.) in a directory somewhere on a network drive (let's say g:\tools\bin).
 This directory is in my path.

How can I get around the problem?

-- 
John E Hein (john AT era DOT com)
Raytheon E-Systems, Falls Church Division, USA
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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