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" == Ralf Wildenhues <Ralf.Wildenhues@gmx.de> writes:

>> In Quagmire I create necessary directories in the Makefile.  I wonder
>> whether we should just do that here as well.  I'll take a look.

Ralf> That would just be sensible.  Automake only creates them at
Ralf> config.status time because it requires all dep files to be present (as
Ralf> stubs at least) at make time.

I looked into this a little.  I think I am going to leave the code
as-is.  It isn't so bad this way, and changing it is a bit tricky for
the general case, because I think we'd need to use secondary
dependencies to make %.o pre-depend on its corresponding dependency
directory.  I'd rather not do this, since secondary dependencies are
pretty obscure.

Tom


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