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.


>   It does not like this line:
>
>   166:   VERSION="${VERSION/\//_}"
>
>   However, changing:
>
>   #!/bin/sh
>
>   to:
>
>   #!/bin/bash
>
>   - it "succeeds":

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.

In this case,

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

   M

--
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]