From: Martin Str|mberg Subject: Re: makefile results differ between cygwin and djgpp Newsgroups: comp.os.msdos.djgpp References: User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (NetBSD/1.5_BETA (alpha)) Message-ID: <1026075796.295600@queeg.ludd.luth.se> Cache-Post-Path: queeg.ludd.luth.se!unknown AT speedy DOT ludd DOT luth DOT se X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) Date: 07 Jul 2002 21:03:16 GMT Lines: 36 NNTP-Posting-Date: 07 Jul 2002 21:03:16 GMT NNTP-Posting-Host: queeg.ludd.luth.se X-Trace: 1026075796 news.luth.se 467 130.240.16.109 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Ed Manlove wrote: : I am getting an "No such file or directory (ENOENT)" error when I run a : makefile under DJGPP. The full output is : 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 ; Why the full path to make? : 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 Which shell are you using? What is SHELL in makefiles and in environment set to? : I am assuming that this error is with a desired directory to change into : using make and not with the pipe command (although exit is not within my : makefile but assumed as the exit command). I have also verified I have LFN : support turned on and have reinstalled DJGPP using the provided zip utility : unzip32. Using cygwin the expected output is : for i in util lib boot demo ; do make - --unix NODEPS=yes -C $i depend || Why _don't_ you have the full path to make here? You aren't mixing cygwin with DJGPP, are you? That can be a bad idea. Why different options to make? Right, MartinS