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] Makefile dependencies for included .md files


Paul Brook <paul@codesourcery.com> writes:
> On Tuesday 13 January 2004 3:23 am, Jim Wilson wrote:
>> I looked at the code that implements the rtl include operator in
>> gensupport.c.  It has support for absolute pathnames, and support for -I
>> options to specify alternate search directories.  Your patch for
>> generating dependencies does not.  So there is a mismatch of features
>> here.  There are no current md files that rely on these features, but
>> eventually there will be, or someone will use them for testing
>> development work, and then we will have a problem.  It would be nicer if
>> we got this right from the start.
>
> Ok, back to the drawing board then:)

It seems to me that a very simple gen-md-deps program could be written
that would scan for (include) directives and spit out Makefile
dependency lines for all the generated code.

zw


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