Re: cross-compiling on OS X, make menuconfig fails

From: Arnd Hannemann
Date: Mon May 12 2008 - 09:52:56 EST


SL Baur wrote:
> On 5/3/08, Roland Kuhn <rkuhn@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
>> Hi Steve!
>>
>>
>> On 3 May 2008, at 08:55, SL Baur wrote:
>>
>
>
>>> $ uname -v
>>> Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007;
>>> root:xnu792.25.20~1/RELEASE_I386
>>>
>>>
>>>
>> Yes, they changed that between Tiger and Leopard, where I have
>>
>> ---
>> $ uname -v
>> Darwin Kernel Version 9.2.2: Tue Mar 4 21:17:34 PST 2008;
>> root:xnu-1228.4.31~1/RELEASE_I386
>> $ /bin/bash -c 'echo -e "buh\n"'
>> buh
>>
>> $ /bin/sh -c 'echo -e "buh\n"'
>> -e buh
>>
>> $ /bin/echo -e "buh\n"
>> -e buh\n
>> ---
>>
>> The second one is POSIX+XSI, the third one plain POSIX. The first one is
>> what people are used to ;-)
>>
>
> Check.
>
> $ /bin/bash -c 'echo -e "buh\n"'
> buh
>
> $ /bin/sh -c 'echo -e "buh\n"'
> buh
>
> $ /bin/echo -e "buh\n"
> -e buh\n
>
> Of all the things to "standardize" on, why something like bash
> which has no standards? pdksh, ash, dash or POSIX mode zsh,
> would have been better...
>
>
It also depends on the shell option xpg_echo IIRC.
If xpg_echo is off echo -e should work in /bin/sh, too.

Regards,
Arnd



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/