public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug pch/19540] New: document pch directory feature
@ 2005-01-20  8:12 Ralf dot Wildenhues at gmx dot de
  2005-01-20 15:13 ` [Bug pch/19540] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: Ralf dot Wildenhues at gmx dot de @ 2005-01-20  8:12 UTC (permalink / raw)
  To: gcc-bugs

Please document that it is possible to store a pch of
  foo.h
in a directory named
  foo.h.gch/
such that subsequent compiles will search all files in
that directory for a good precompiled header candidate.

(See also http://gcc.gnu.org/ml/gcc/2005-01/msg01087.html)

-- 
           Summary: document pch directory feature
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: pch
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Ralf dot Wildenhues at gmx dot de
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19540


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug pch/19540] document pch directory feature
  2005-01-20  8:12 [Bug pch/19540] New: document pch directory feature Ralf dot Wildenhues at gmx dot de
@ 2005-01-20 15:13 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-20 15:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-20 15:13 -------
http://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html#Precompiled-Headers

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


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19540


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-20 15:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-20  8:12 [Bug pch/19540] New: document pch directory feature Ralf dot Wildenhues at gmx dot de
2005-01-20 15:13 ` [Bug pch/19540] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).