guix-devel
[Top][All Lists]
Advanced

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

Re: Binutils build failure on MIPS


From: Vincent Legoll
Subject: Re: Binutils build failure on MIPS
Date: Tue, 13 Sep 2016 16:36:07 +0200

On Tue, Sep 13, 2016 at 4:27 PM, David Craven <address@hidden> wrote:
> I highly doubt that binutils uses python, and I'm not sure why you
> think that this is a filename - so why would unix filename matching
> apply in this instance?

I know it's not exactly the same, but python fnmatch is probably doing
(almost) the same as bash's, and bash switch/case may also use
fnmatching, that was for illustration purpose.

And now after reading a bit of man bash:

A case command first expands word, and tries to match it against each
pattern in turn, using the same matching rules as for pathname expansion

So "-*-" will match "--", "-gnu-", etc... but neither "-" nor ""...

> There must be a match somewhere...

Maybe, I report my findings as I go, and I've still not looked everywhere...
;-)

But that looked sufficiently suspicious that I wanted to shared my findings...

> Either mips64*el-*-linux means any cpu model or you've missed a part
> of the matching code. I remember GCC having that spread out over
> three parts of a file.

I'll look harder

-- 
Vincent Legoll



reply via email to

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