Boost logo

Boost-Build :

Subject: Re: [Boost-build] darwin: precompiled headers
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-11-09 01:12:14

On Sunday 09 November 2008 02:04:01 Jeroen van der Wulp wrote:
> Hello everyone,
> The darwin toolset uses the gcc precompiled header generator, but it
> generates names that end in .pch instead of .gch. As a result the
> precompiled headers are never found and hence never used. This is with
> Boost Build v2 from Boost trunk.
> Adding the following line to tools/darwin.jam resolves the issue.
> type.set-generated-target-suffix PCH : <toolset>darwin : gch ;
> This makes it possible to use precompiled headers on OS X 10.5.5 with
> XCode 3.1. Is it just coincidence or are there any obstacles on other
> versions of OS X (and XCode)? Should it be needed, I also have access to
> a 10.4 machine that I can use for testing.

I think this is just an accidental breakage. I've applied your suggested patch, thanks!

Do you think you can to go 'test' subdir of and run

        python darwin

there to double-check that PCH now works fine?


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at