Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2006-04-26 10:45:17


Vladimir Prus wrote:
> On Wednesday 26 April 2006 17:33, Phillip Seaver wrote:
>
>> Felipe Magno de Almeida wrote:
>>
>>> On 4/26/06, Philip Craig <philip_at_[hidden]> wrote:
>>>
>>>> Just to add my datapoint again.
>>>>
>>>> boost build can't be used for serious projects in msvc++ until all of
>>>> pch and -jn (where n > 1) and pdb are working.
>>>>
>>> What is the problem with -jn and pdb?
>>> I'm using here -j2 and never had any problem yet...
>>>
>> Well, for a start, it doesn't generate .pdb's at the moment. :-) The
>> problem is that when compiling two files that use the same .pdb, one
>> locks the file and the other fails to compile when it tries to open the
>> locked .pdb for writing.
>>
>
> And what are possible solution, other then serializing compile actions?
>
> - Volodya

I don't know of any -- I was just answering his question as to why he
hadn't seen the problem and what the problem would be.

So, how would I go about serializing it? I see that in my copy,
there's a line reading:

    JAM_SEMAPHORE on $(targets) = <s>gcc-link-semaphore ;

...in the link rule in gcc.jam. I assume it would be something like that?

Thanks,

Phillip


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk