|
Boost-Build : |
From: Andrey Melnikov (melnikov_at_[hidden])
Date: 2005-07-07 14:42:56
Jürgen Hunold wrote:
> When implementing pch support, please add a mechanism which allows
> disabling pch support from the command line or toolset configuration.
> Something like "<use-pch>no" feature.
PCH aren't portable, so by default they should be turned off.
>
> Rationale:
> pch are great when compiling on a single machine. But the go havoc when
> using distrubuted compile system like distcc and icecc. Those tools
> usually run the preprocessor on the local machine and transmit the
> preprocessed output to a slave to do the "hard work" ;-)
> None of those tools transmit the precompiled header and it is not
> guaranteed that it will be available over the network (not sure if this
> is a such a great idea anyway, due to the size of the pch output ;-))
Incredibuild supports precompiled headers, but it's very expensive. Does
anybody know other distributed compilers for msvc?
Andrey
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