【发布时间】:2013-01-18 20:34:14
【问题描述】:
我终于设法在 Windows 中编译了一个程序,这需要一段时间,如果没有这里的帮助,这将是不可能的。现在一切正常,除了:“make clean”产量
/bin/sh: del: command not found
Makefile:44: recipe for target `clean' failed
make: *** [clean] Error 127
在makefile中,clean命令看起来像
clean:
del /S *.o *~ *.out [...], eliminating all resulting .o and executables resulting from make.
mingw64 在路径中,我尝试在路径中使用 cygwin/bin 和不使用,两者结果相同。 “制作”是在 msys 中使用 mingw32-make 完成的。我还在msys 中尝试了“mingw-32-make clean”,但仍然没有运气;我也不确定 Cygwin 是否支持“make clean”。我在 Windows 7 64 位上运行整个程序。
我该如何解决这个问题?
【问题讨论】: