Need help with using crosstool to build toolchain for Au1550.

Martin Guy martinwguy@yahoo.it
Mon Jul 7 09:29:00 GMT 2008


>   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



More information about the crossgcc mailing list