> Should not the PCH end up in directory like "bin/debug" or "bin/release" and consequence used only when
> building the right variant, when using Boost.Build? Is this not happening, or there's some other issue?

 
The .pch file ends up in the same directory as the compiled SomeHeaderName.hpp file, with the name SomeHeaderName.hpp.pch. When gcc looks for SomeHeaderName.hpp it will use SomeHeaderName.hpp.pch if it exists.
 
gcc also supports that the .pch files reside in a directory with name SomeHeaderName.hpp.pch. If multiple .pch files exists in that directory, compiled with different settings, it will automatically pick a suitable one. This is what I try to do with cpp-pch, but with no luck so far.
 
BR,
Dag
 
 
 
 
 
>
> - Volodya
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build



Explore the seven wonders of the world Learn more!