使用 MinGW make 的 Eclipse 在没有 msys 的情况下失败

Eclipse using MinGW make fails without msys

作为背景,我正在尝试在 Windows 8.1 主机上为 STM32 构建 ChibiOS。如果我在 msys.bat 命令提示符下的演示目录中简单地 运行 make ,这将非常有效。因此,工具链和路径应该没问题。

现在,如果我简单地设置一个 Eclipse 项目,它会尝试直接 运行 make.exe 并失败。输出类似于来自普通 cmd 提示的 运行ning makemake.exemingw32-make.exe)。

make all 
       0 [main] sh 5524 sync_with_child: child 2444(0x188) died before initialization with status code 0xC0000142
     22 [main] sh 5524 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
      0 [main] sh 188 sync_with_child: child 1152(0x188) died before initialization with status code 0xC0000142
     26 [main] sh 188 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
      0 [main] sh 5096 sync_with_child: child 3200(0x18C) died before initialization with status code 0xC0000142
     25 [main] sh 5096 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
      0 [main] sh 5232 sync_with_child: child 3820(0x184) died before initialization with status code 0xC0000142
     25 [main] sh 5232 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
make: Nothing to be done for 'all'.

20:39:33 Build Finished (took 4s.171ms)

我看到一些信息说这是 Windows 8.1 的某些方面。我可以说服 Eclipse 以某种方式使用 msys 还是有另一种已知的干净方法来使 make(任何 make)在没有它的情况下工作?

可能相关:

奇怪的是,我通过用 msys 目录替换 WinAVR 目录中的 msys-1.0.dll 解决了这个问题。我猜那里有一个古老的版本,据我所知,它不在系统路径中时以某种方式被加载。

问题中的链接指的是更新dll或用补丁替换它。