lkml.org 
[lkml]   [2008]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: cross-compiling on OS X, make menuconfig fails
Tony Breeds wrote:

> On most linux systems echo supports c-syle escapes with "-e". I'm
> guessing which ever echo you're getting dosesn't do that.

Yes, that is my problem.

> I think the best fix is to ensure you're getting bash as your shell.

The script starts off with this line:

#!/bin/sh

Doesn't that mean that it should be interpreted by sh and not bash?

> A nasty hack would be to make check-lxdialog.sh do something like:
> (echo ' #include CURSES_LOC';echo 'main() {}') | gcc '-DCURSES_LOC=<ncurses.h>' -DLOCALE -DKBUILD_NO_NLS -lncurses -xc - -o .lxdialog.tmp

This works. Do you think if I posted a patch that makes this change, it will be
accepted?

--
Timur Tabi
Linux kernel developer at Freescale


\
 
 \ /
  Last update: 2008-04-29 17:11    [W:0.125 / U:0.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site