在Windows上进行(并行作业)

编程入门 行业动态 更新时间:2024-10-28 11:32:52
本文介绍了在Windows上进行(并行作业)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在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上进行(并行作业)

本文发布于:2023-10-06 17:55:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1467611.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:作业   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!