Date: Mon, 8 Jul 2002 07:42:51 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Ed Manlove cc: djgpp AT delorie DOT com Subject: Re: makefile results differ between cygwin and djgpp In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 7 Jul 2002, Ed Manlove wrote: > C:\Research\legOS\djgpp\legos-0.2.6>make > for i in util lib boot demo ; do c:/djgpp/bin/make.exe -C $i || exit 2 ; > done > make.exe: pipe: No such file or directory (ENOENT) > Syntax error > Bad command or file name > No command name seen. > make.exe: *** [all] Error -1 These error messages are telltale signs of running a Makefile that needs a Unixy shell (e.g., see the "||" construct and the syntax of the `for' statement) without telling Make to invoke such a shell. Add a line like this: SHELL = /bin/sh to the beginning of the Makefile, install the DJGPP port of Bash, and your problems will most probably go away.