bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] order-only prerequisite ends up in $<


From: Jim
Subject: Re: [PATCH] order-only prerequisite ends up in $<
Date: Wed, 21 Apr 2004 03:03:16 -0700
User-agent: Mozilla Thunderbird 0.5 (Windows/20040207)

I'm not really sure if this falls in the same category, but the rule base is a pattern rule... it seems that something like

%.o:%.c | $(intermdiate_path)

intermediate_path is no longer order only, it is instead a valid rule, and that being a directory means it's often newer then the .o in certain filesystems.

in my make 3.80 under linux, $| doesn't have anything, $< is just the .c source file, other things have the intermediate path, but nothing indicates order only, as it would if the order only dependant was specified on a non-pattern rule...

%% Noel Yap <address@hidden> writes:

  ny> Paul D. Smith wrote:
  >> %% Boris Kolpackov <address@hidden> writes:
bk> If you expect it to print >> bk> %r: | baz >> bk> then look in read.c line 537. The dumping code simply does not bk> distinguish between normal and order-only prerequisites. >> >> ITYM rule.c. >> >> I have a fix for this already but maybe I haven't checked it in yet.

  ny> Is this just a display bug?  Or does this affect actual processing?

Just a display bug.

The database dump function doesn't make a distinction between the
order-only and "normal" prerequisites.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]