5 messages in com.perforce.jamming[jamming] Parallel builds on NT ?
FromSent OnAttachments
Domi...@csee-transport.fr04 Sep 2000 08:53 
Alex...@mud.cgl.uwaterloo.ca04 Sep 2000 09:49 
Mart...@microsoft.com04 Sep 2000 10:16 
Edwa...@yahoo.com04 Sep 2000 16:33 
Mart...@microsoft.com04 Sep 2000 16:51 
Subject:[jamming] Parallel builds on NT ?
From:Alex...@mud.cgl.uwaterloo.ca (Alex@mud.cgl.uwaterloo.ca)
Date:09/04/2000 09:49:07 AM
List:com.perforce.jamming

I am interested in using jam on NT.

The home page (http://www.perforce.com/jam/jam.html) states among features that: "On UNIX and NT, jam can do this with multiple, concurrent processes. " On the other hand, the documentation on the jam command (http://public.perforce.com/public/jam/src/Jam.html) says that the -j option (number of concurrent jobs) is "UNIX only".

I assume -j is implemented for NT, but if you're using MSVC's compiler you cannot use it. The issue is that to save space and time cl creates a ".pdb" file which is a database of debugging information for your program, and only one compile process at a time can update this file; the second simultaneous compile will fail (just like the irritating feature that you can't compile while also running the debugger).

With g++ you will not have this problem, but g++ is about twice as slow as MSVC at at compile time, so there is zero gain on a dual processor machine. (Although g++ accepts a more complete subset of ANSI C++ than MSVC, particularly in regard to templates.)

alex