This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Fwd: It's (PCH) merging time!]
- From: Tim Josling <tej at melbpc dot org dot au>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 08 Oct 2002 07:01:38 +1000
- Subject: [Fwd: It's (PCH) merging time!]
- Organization: Melbourne PC User Group
Fergus Henderson wrote:
>
> >
> > So, if the dependencies are set up writing, changing one of many files causes
> > many files to be recompiled.
>
> What do you mean by "if the dependencies are set up writing"?
>
That should read 'right' not 'writing'.
> The normal solution to this is to use datestamp files.
> In the case of gtype, that's already done (s-gtype).
>
> Of course if gtype-desc.h does actually change the yes many things will need
> to be recompiled. But that's unavoidable (without restructuring the
> source code) given that Make works with dependencies at a file-granularity
> level, rather than looking at exactly which symbols each file depends on.
>
Yes.
Tim Josling