delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/07/12:30:06

From: "Ed Manlove" <emanlove AT ieee DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: makefile results differ between cygwin and djgpp
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <WVZV8.370$w54.345316369@news.netcarrier.net>
Date: Sun, 7 Jul 2002 12:09:29 -0400
NNTP-Posting-Host: 207.207.250.219
X-Complaints-To: news AT netcarrier DOT com
X-Trace: news.netcarrier.net 1026058998 207.207.250.219 (Sun, 07 Jul 2002 12:23:18 EDT)
NNTP-Posting-Date: Sun, 07 Jul 2002 12:23:18 EDT
Organization: NetCarrier Internet Services
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 ;
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

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 ||
exit 2 ; done
make[1]: Entering directory
`/cygdrive/c/Research/legOS/legOS_0.2.6/legos-0.2.6/util'

The makefile which is being called has the following code in it

depend:
 for i in $(SUBDIRS) ; do $(MAKE) $(MFLAGS) NODEPS=yes -C $$i depend || exit
2 ; done

Anyone have any thoughts about this.  I appreciate the help.

--
Ed Manlove
emanlove AT eclipse DOT net


- Raw text -


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