This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Fwd: It's (PCH) merging time!]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]