在Windows上,哪些设置适用于GNU make并行作业(-j)?
What setup works for GNU make parallel jobs (-j) on Windows?
我尝试使用MinGW make 3.81将外壳设置为cmd.exe,这在创建多个进程时有效,但make失败,并显示等待作业"消息.
I have tried setting the shell to cmd.exe using MinGW make 3.81, this works in creating the multiple processes but make fails with the "waiting for job" message.
这可以工作,什么是最佳设置? (MinGW/Cygwin/???) 有人可以指出我要进行测试的示例吗?
Can this work and what is the best setup? (MinGW / Cygwin / ???) Can someone point me to a working example to test against?
推荐答案我在Cygwin下使用make -jn从未遇到任何问题.效果不错.我经常将它与Microsoft的cl.exe编译器一起使用.它对我来说是开箱即用的.非常像UNIX,这是一件好事.构建脚本可以很好地移植到Linux和Mac.彻底推荐.
I've never had any promblems using make -jn under Cygwin. It works rather well. I regularly use it with Microsoft's cl.exe compiler. It just works out of the box for me. Very UNIX like, which is a Good Thing™. Build scripts port nicely to Linux and the Mac. Thoroughly recommended.
自从我到达一个5个反斜杠太少但6个反斜杠太多的地方以来,从未喜欢MinGW的产品.叹! (与MinGW hacks有关,以使make AFAIK中允许使用反斜杠分隔的路径名.)
Never liked MinGW make since I got to a place where 5 back-slashes were too few, yet six was too many. Sigh! (To do with MinGW hacks to make backslash separated path names allowable in make AFAIK.)
更多推荐
在Windows上进行(并行作业)
发布评论