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: automatic dependencies for gcc


* Ralf Wildenhues wrote on Sun, Mar 09, 2008 at 03:39:41PM CET:
> * Tom Tromey wrote on Sat, Mar 08, 2008 at 07:49:55PM CET:
> > Ralf> --include $(patsubst %.o, $(DEPDIR)/%.Po, $(ALL_HOST_OBJS))
> > Ralf> +DEPFILES = $(foreach obj, $(ALL_HOST_OBJS), \
> > Ralf> +	     $(dir $(obj))$(DEPDIR)/$(patsubst %.o,%.Po,$(notdir $(obj))))
> > 
> > This makes it tempting to change depcomp instead  :)
> 
> Fair enough.  Well, the one-time complexity of the above should be
> weighed against losing sync with upstream (hmm, not too dynamic ATM ;-).

Erm, not to mention that changing depcomp without renaming it will break
some other uses in the GCC and src source tree (at least libffi).

Cheers,
Ralf


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