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]

Re: [PATCH] Hard-link to in-tree tools


> I have no idea how to do this in the Makefile.  The conditions under
> which we do it are seriously arcane.  I suppose it could be done with
> conditionals.

If we use symlinks, the rule never runs more than once, because the
timestamps will seem up to date.

If we copy, the rule runs whenever the binary is rebuilt.

The only tricky bit is getting it to check at the right times.


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