help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Internal command not found in dos command line


From: Alexander Kriegisch
Subject: Re: Internal command not found in dos command line
Date: Fri, 29 Feb 2008 10:42:20 +0100
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

I do not think that this is a make problem as such, but the question
which shell your makefile uses. You may want to set SHELL accordingly
(to cmd.exe or to Cygwin's bash).
-- 
Alexander Kriegisch
Certified ScrumMaster
http://scrum-master.de

Ethan Du:
> 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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]