This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Crosstool-NG does not work (help!)


Hello Paul!
Hello all!

On Thursday 08 November 2007 00:18:05 Paul Smith wrote:
> If a script requires bash to run, then it should start with #!/bin/bash
> as the sh-bang line.

That is the case. The problem is with the Makefile... I forgot (in fact
didn't think of it) to tell make to use bash as SHELL.

Plus, I have to detect where bash is (I had a system where it was neither in
/bin nor /usr/bin, but something like /usr/xpg4/gnu/bin, if anyone sees what
I mean ;-) )

> If your script starts with #!/bin/sh, then it should use ONLY POSIX
> shell features, and no bash-specific features. [*]

I do agree. My ./configure uses only POSIX features (or it uses non-POSIX
ones, then this is a bug I have to fix).

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< °_° >==-- °------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL    |  """  conspiracy.  |
°------------------------------°-------°------------------°--------------------°


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]