bug-libtool
[Top][All Lists]
Advanced

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

Re: [PATCH] Fix cross compilation with wine for the case SHELL != bash.


From: Ralf Wildenhues
Subject: Re: [PATCH] Fix cross compilation with wine for the case SHELL != bash.
Date: Mon, 10 Nov 2008 20:27:20 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Alexei,

* Alexei Sheplyakov wrote on Mon, Nov 10, 2008 at 09:24:53AM CET:
> On Sun, Nov 09, 2008 at 08:51:19PM +0100, Ralf Wildenhues wrote:
> 
> > And you are using a shell with an echo that interprets backslashes by
> > default.
> 
> Yes, apparently. Anyway, I thought libtool was portable and should work
> with any POSIX compliant shell.

Yes, it should.

> > Don't do that; just use bash.
> 
> bash? No, thanks.

It's the only shell (AFAIK) where we can use
  var+=value

that enables building a long list in a shell variable without quadratic
scaling.  You will notice this when using libtool with large code bases
(many object files or many deplibs).

> > You will find more issues in Libtool.
> 
> Then I'll send more patches :)

Which is fine.  Please note that nontrivial additions need copyright
assignments (more off-list).

> > We sometimes (by accident I think) assume echo on w32 system
> > is well-behaved: all w32 shells are fixed this way now.
> 
> First of all, I was (cross) compiling on GNU/Linux, so woe32 shells'
> properties are kind of irrelevant. Secondly, your definition of
> "well-behaved" surprises me, as that behaviour contradicts to POSIX.

Not to XSI though.

I know w32 shells' properties are technically irrelevant.
For maintainer's sanity, these things are not irrelevant, though.

Cheers,
Ralf




reply via email to

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