[Bug pch/19540] document pch directory feature

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 20 15:13:00 GMT 2005

------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-20 15:13 -------

If you need to precompile the same header file for different languages, targets, or compiler options, 
you can instead make a directory named like all.h.gch, and put each precompiled header in the 
directory, perhaps using -o. It doesn't matter what you call the files in the directory, every precompiled 
header in the directory will be considered. The first precompiled header encountered in the directory 
that is valid for this compilation will be used; they're searched in no particular order.

So this was documented already.

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


More information about the Gcc-bugs mailing list