Hi,
installing 5.8 on Debian (Jessie) fails:

--------
root@k33:/mnt/loop# ./install.sh -r lsb-sdk -s toolchain
*** Installing ./targets/armv7a-hf/eldk-glibc-i686-arm-toolchain-5.8.sh
into /opt/eldk-5.8/armv7a-hf
./targets/armv7a-hf/eldk-glibc-i686-arm-toolchain-5.8.sh: 72: read: Illegal option -e
--------

The reason seems to be:

1. install.sh uses 'sh' to run the toolchain shell script:

    ${DRY_RUN} sh ${shar} >/dev/null || exit 1

  On Debian, 'sh' means 'dash' (https://wiki.debian.org/Shell).


2. eldk-glibc-i686-arm-toolchain-5.8.sh doesn't work with dash.


Workarounds that seems to work for me:

A) ${DRY_RUN} bash ${shar} >/dev/null || exit 1

B) ${DRY_RUN} ./${shar} >/dev/null || exit 1

Regards,
/Thomas
_______________________________________________
eldk mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/eldk

Reply via email to