make-w32
[Top][All Lists]
Advanced

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

make and cygwin issue


From: luoyi
Subject: make and cygwin issue
Date: Thu, 27 Apr 2006 13:02:38 +0800

Hi, after I installed cygwin, I found some strange behavior with make,
hope you can help!

my cygwin dir is : d:\cygwin
*****************************************************************************
F:\maketest>echo %PATH%
D:\Python24;D:\gtktools;D:\gtktools\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\MinGW\bin;C:\Program
Files\Editplus 2;D:\texmf\miktex\bin;d:\ora90\bin;C:\Program 
Files\Oracle\jre\1.1.8\bin;D:\Ice-2.1.2\bin;E:\LAMP\Apache2
\bin;E:\LAMP\Perl\bin;D:\Program Files\doxygen\bin;D:\Program 
Files\svn\bin;;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program 
Files\Vim\vim64;E:\docbook\bin;D:\cygwin\bin

F:\maketest>type hello
hello, world!

F:\maketest>type makefile
all:
        type hello

F:\maketest>make
type hello
process_begin: CreateProcess((null), type hello, ...) failed.
make (e=2): ϵͳÕÒ²»µ½Ö¸¶¨µÄÎļþ¡£
make: *** [all] Error 2
*****************************************************************************

and after I rename d:\cygwin\bin\sh.exe to sh.exe.bak, then make can do the 
work:
*****************************************************************************
F:\maketest>rename d:\cygwin\bin\sh.exe sh.exe.bak

F:\maketest>make
type hello
hello, world!
*****************************************************************************

can anyone explain it here ?








reply via email to

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