在windows7上进行make时出现奇怪的错误

时间:2016-07-07 21:25:22

标签: windows makefile

尝试使用mingw在Windows7上运行make但是出现了神秘的错误。我无法弄清楚Makefile中的哪一行或导致错误的命令。

C:\pkgs\C-TCC-0.02>make --debug > tmp.txt
syntax error at -e line 1, at EOF
Execution of -e aborted due to compilation errors.
make: *** [blib\lib\C\\.exists] Error 255

tmp.txt文件

GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-pc-mingw32
Reading makefiles...
Updating goal targets....
 File `makemakerdflt' does not exist.
   File `all' does not exist.
     File `pure_all' does not exist.
       File `config' does not exist.
         File `blibdirs' does not exist.
           File `blib\lib\C\\.exists' does not exist.
          Must remake target `blib\lib\C\\.exists'.

任何想法都会受到赞赏。

UPDATE1

以下是Makefile

1 个答案:

答案 0 :(得分:0)

想出来。我应该使用dmake代替make

感谢Perl Monks

提示