Message-ID: <001501c22674$6cf2aba0$98facfcf@oemcomputer> From: "Ed Manlove" To: , , Subject: Re: makefile results differ between cygwin and djgpp X-Mailer: Microsoft Outlook Express 5.00.2615.200 Date: Mon, 8 Jul 2002 07:41:35 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Reply-To: djgpp AT delorie DOT com Eli and Martin, Shell was the problem. I had downloaded it but forgot to unzip it and add SHELL to the env settings. Thanks for the pointers. The reason I mention cygwin is that I am looking at repeating what Rossz Vamos-Wentworth has done with using DJGPP as the build environment for legOS, the open source LEGO MindStorm OS. I have been using cygwin as my development environment along with the majority of the legOS windows user community. But recently there has been questions about the difficulty of the environment for non-Unix individuals. This DJGPP "port" for legOS was old and I mentioned I would investigate an upgrade. I know Eli is familiar with this effort as he is acknowledge as helping Rossz with his work. At this point I have just been "playing around" and trying to get the utility tools to build under DJGPP. I have not tackled the "hard problem" of creating the cross compiler. For this I was going to follow the script written by Christopher Bahns and modified by Paolo Masetti, a major legOS windows developer http://legos.sourceforge.net/cygwin/INSTALL-cygwin.html. Ed Eli Zaretskii wrote in message news:Pine DOT SUN DOT 3 DOT 91 DOT 1020708074013 DOT 29837A-100000 AT is... > > 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.