|
From: | Ethan Du |
Subject: | Internal command not found in dos command line |
Date: | Fri, 29 Feb 2008 17:11:44 +0800 |
Hi: I have a makefile like this: ... ... clean: echo "ethan from space" When run "make clean" (GNU Make 3.81.2, built in cygwin) from a separate folder which only have make.exe and 3 dlls (cygiconv-2.dll, cygintl-8.dll, cygwin1.dll) from dos command line, I met the following: make: echo: Command not found make: *** [clean] Error 127 With a little change in the makefile: ... ... clean: cmd /c echo "ethan from space" It works. So, my question is: are the internal commands must be called with "cmd /c"? or what else is wrong? Thanks, Ethan Express yourself instantly with MSN Messenger! MSN Messenger |
[Prev in Thread] | Current Thread | [Next in Thread] |