%% "Jan Mikkelsen" <[EMAIL PROTECTED]> writes:
jm> I've recently changed my makefiles to use VPATH and submakes instead of
jm> using explict path prefixes for object directories. This is great, my
jm> makefiles are simpler, and the rules are cleaner.
jm> However, on Win32 I have lost parallel builds. Unix is fine. I
jm> assume this is because the jobserver code only runs on Unix, and
jm> without the jobserver code, submakes get forced to -j1.
jm> Is anyone working on Jobserver code for Win32?
The UNIX implementation of the jobserver requires UNIX-style pipes and
POSIX-style signal handling, including sigaction(), the concept of
non-blocking reads, etc. To the best of my knowledge, not all of these
things exist on Windows.
Also to the best of my knowledge, no one is working on a Windows
implementation using whatever Windows-specific technology might be
appropriate for this type of situation (I have no idea what that might
be).
If someone is interested in thinking about it, or engineering a
solution, I'd be happy to discuss it and think about the best way to
integrate it into the current implementation. I can provide some detail
as to how exactly the UNIX version works for reference, and I have a few
messages Rob Tulloh sent me back when we were doing the UNIX
implementation discussing Windows-related issues I can forward to anyone
who cares to look into this.
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist