[cfe-commits] r72743 - in /cfe/trunk/docs: PCHInternals.html PCHLayout.graffle PCHLayout.png

Douglas Gregor dgregor at apple.com
Wed Jun 3 10:42:09 PDT 2009


On Jun 2, 2009, at 3:31 PM, Eli Friedman wrote:

> On Tue, Jun 2, 2009 at 3:08 PM, Douglas Gregor<dgregor at apple.com>  
> wrote:
>> +<p>The metadata block contains several records that provide
>> +information about how the precompiled header was built. This  
>> metadata
>> +is primarily used to validate the use of a precompiled header. For
>> +example, a precompiled header built for x86 (32-bit) cannot be used
>> +when compiling for x86-64 (64-bit). The metadata block contains
>> +information about:</p>
>
> You might want to clarify this this is talking about the target, not
> the host;

Good point. Clarified in my next update to the docs.

> PCH files are portable, right?


"Probably". There's nothing I know of in the design or implementation  
that depends on the host architecture, but I haven't tested PCH files  
across host architectures.

	- Doug



More information about the cfe-commits mailing list