delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/08/00:47:59

Date: Mon, 8 Jul 2002 07:42:51 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Ed Manlove <emanlove AT ieee DOT org>
cc: djgpp AT delorie DOT com
Subject: Re: makefile results differ between cygwin and djgpp
In-Reply-To: <WVZV8.370$w54.345316369@news.netcarrier.net>
Message-ID: <Pine.SUN.3.91.1020708074013.29837A-100000@is>
MIME-Version: 1.0
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

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.

- Raw text -


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