List Info

Thread: State of PCH/msvc




State of PCH/msvc
user name
2006-04-26 12:14:49
On Wednesday 26 April 2006 16:07, Janssen, Olaf  ST/HZA-TBE
wrote:
> > PCH is nowhere close to "release"
state. There are numerous
> > issues with
> > PCH on MSVC:
> >
> > 6. Some other subtle issues I can't remember.
>
> parallel build does not work (that might also be
difficult to implement)

What are specific issues with parallel build? There should
be a dependency 
from exe to the used pch, to PCH should be created before
exe is compiled?

Or the problem is that two copies of compiler try to use the
same PCH? It's 
possible to serialize execution of compile actions for that
case.

- Volodya

-- 
Vladimir Prus
http://vladimir_pru
s.blogspot.com
Boost.Build V2: http://boost.org/boost-
build2
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
State of PCH/msvc
user name
2006-04-26 12:19:51
Vladimir Prus wrote:
> On Wednesday 26 April 2006 16:07, Janssen, Olaf 
ST/HZA-TBE wrote:
>   
>>> PCH is nowhere close to "release"
state. There are numerous
>>> issues with
>>> PCH on MSVC:
>>>
>>> 6. Some other subtle issues I can't remember.
>>>       
>> parallel build does not work (that might also be
difficult to implement)
>>     
>
> What are specific issues with parallel build? There
should be a dependency 
> from exe to the used pch, to PCH should be created
before exe is compiled?
>
> Or the problem is that two copies of compiler try to
use the same PCH? It's 
> possible to serialize execution of compile actions for
that case.
>
> - Volodya

The latter.  You run into the same problem with .pdb files,
which is one
reason I haven't finished it.  I just run without -j2 for
those builds. 
Would the serialization force it to do a single thread (even
if I had
-j2) or would it build a separate target that didn't use
the same file?

Phillip

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )