What about the use of fork? If the problem is that fork is slow, then using --no-fork should not make much difference because the forking happens only at startup and then every hundred jobs or so.
If fork is a problem, it would be more useful to replace the forks which happen for each compilation. Is there a more efficient way to launch tasks in Cygwin?
There is a fellow working on adding support to gcc for using spawn instead of fork when running the subprocesses inside gcc on windows (without cygwin). That's probably the way to go if you want speed. But I have no idea how easy it is to build a mingw host, linux target cross-compiler.
A patch that seems to add spawn support is at:
http://gcc.gnu.org/ml/gcc-patches/2004-10/msg02092.html
Not sure what the status is.
- Dan
__ distcc mailing list http://distcc.samba.org/
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/distcc
