[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: -jN using cl.exe and not gcc

From: Sandy Currier
Subject: re: -jN using cl.exe and not gcc
Date: Fri, 25 Jun 2004 16:18:48 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

Hi all,

I am trying to use higher values of -j on windows but at the same
time use cl.exe as opposed to gcc.  One of several problems with
cl.exe is that it likes to generate a bunch of secondary files,
like .pch, idb, .pdb, etc.  This is for c++ files with visual
studio 7 (.net).

And it likes to place them in a common location (per visual studio

But, to run multiple instances of cl.exe at the same time (-jN),
one needs to create individual secondary files (in unique places)
to keep multiple cl.exe processes from stepping on themselves.
But doing so appears to be a bad thing since there are now
multiple instances of these files with partial (project) data in
them as opposed to a single instance of the file.

Does anyone on this list have any experience trying to parallel-ize
windows compiles using cl.exe?

Any advice/thoughts/prior art?  Best practice?

thanks in advance,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]