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: Need help with using crosstool to build toolchain for Au1550.


Hello all!

On Monday 07 July 2008 11:29:22 Martin Guy wrote:
> >   However, changing:
> >   #!/bin/sh
> >   to:
> >   #!/bin/bash

As Martin says, it is best to remove bashism in the configure script.

> The best answer is to remove bashisms, and use posix-shell-compatible
> constructs only, so it can run on SunOS, AIX, Xenix, BSD, also with
> ash, zsh, busybox-sh and so on.

Yes. The configure script ought to be fully POSIX compliant.

> In this case,
> < VERSION="${VERSION/\//_}"
> > VERSION=`echo "$VERSION" | sed 's/V/_/'`

Yep, thanks for pointing this... I will work on removing all bashisms from
that script.

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]