What means the fat .gch file?

Jack Lloyd lloyd@randombit.net
Thu Nov 1 21:37:00 GMT 2007


On Thu, Nov 01, 2007 at 10:31:05PM +0100, J.C. Pizarro wrote:

> But why gcc-4.3 has not precompiled header for C++

I'm not sure. It's possible that snapshot builds do not precompile
headers when installed (my 4.3 20070105 snapshot install doesn't have
them either).

> and gcc-4.2 has two redundant precompiled headers for C++?

They are not redundant: one is for C++03, the other is C++03 plus TR1
which is substantially different (includes many extensions defined
outside of the current ISO C++ standard).

> Why not these precompiled headers for C++ in /var/cache/ instead of
> local dirs?

I have to say, /usr/include never seemed like the best place for a
large binary file to me either. There may be a specific reason it's
done that way but I don't know it.

-Jack



More information about the Gcc-help mailing list