This is the mail archive of the gcc@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]

Re: Automatic dependency complexity



  In message <871zme769q.fsf@cygnus.com>you write:
  > I'd like to propose changing gcc's interface to dependency tracking so
  > that automake can use it more naturally.  At the same time, changing
  > the GNU make docs to recommend this (IMNSHO) better way of computing
  > dependencies would be a good idea.  Here are the new options I'm
  > thinking of:
  > 
  >   -MT NAME     Set name of target in generated file
  >                Default is computed as it is now
  > 
  >   -MF NAME     Set name of `.d' file.  (Default is as now.)
  > 
  >   -MH          Add a fake dependency for each header file
  > 
  > Implementation-wise, I think the code that actually generates the `.d'
  > file should be extracted from cpp and put into its own file.  That
  > would let the java front end use the same code (right now some of it
  > is duplicated).
  > 
  > 
  > What do people think of this?  It's on my list of stuff I want to
  > implement eventually, but of course it's hard to say when I'll get to
  > it.
Seems reasonable to me.  The -MH stuff is a little gross, but I don't see
a good way around that problem.

jeff


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