bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: A question about make - how does it handle chains of pattern rules?


From: Alex
Subject: Re: A question about make - how does it handle chains of pattern rules?
Date: Thu, 21 May 2009 17:58:10 -0700 (PDT)
User-agent: G2/1.0

Hello again,

It looks like the make 3.81 contains a bug. My makefile is a simple
two-liner:

//%: //%
      @echo oops!

(I know, that double slash is not what people normally use, but this
string might appear after string substitutions. BTW, the '//name' is a
valid syntax)

The make 3.81 chokes on the makefile above, if and only if the
makefile is defined as an absolute pathname. I mean, that

  make -r -f $HOME/path/to/myMakefile xyz

produces a very long error message, mostly consisting of slashes,
complaining about too long filename (of the makefile), and it takes
significant time. The case

  cd $HOME/path/to
  make -r -f myMakefile xyz

works fine.

BTW, the make 3.80 works normally in both cases

All the best
Alex

On May 15, 10:51 am, Alex <address@hidden> wrote:
> On May 15, 5:17 am, Andreas Schwab <address@hidden> wrote:
>
> > Alex <address@hidden> writes:
> > > Third case is a problem - the make can't find the Rule #1. The
> > > question - why? Is it a bug or a feature?
>
> > Works for me.  I'm using make 3.81.
>
> > Andreas.
>
> > --
> > Andreas Schwab, address@hidden
> > GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
> > "And now for something completely different."
>
> Andreas, thank you.
> I've downloaded the 3.81, built it and ran it - it worked fine
> --
> Alex



reply via email to

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