On Tue, 2018-03-13 at 21:47 +0100, Barath Aron wrote: > I'd like to build projects on a system that lacks fork() and vfork() > support, but has posix_spawn(). Would you implement an alternate version > using posix_spawn() to spawn child processes?
I have looked into it before... for about 5 minutes. As far as I know no one is working on it. Unfortunately it's not a simple thing. If you start to look at the code you'll see that make does a ton of work between the fork and the exec. All that needs to be revisited and reworked in order to use posix_spawn(). On the positive side, we already have to do similar things for our native Windows API support which doesn't provide a fork()/exec() like behavior either. It's an area ripe for cleanup but the amount of effort is quite considerable. _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make