Talk:SDK Setup Guide - Almond+ 2014

From SecuriWiki
Revision as of 15:56, 3 June 2016 by matt (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Symlinks needs to be fixed (per https://forum.securifi.com/index.php/topic,4050.msg20870.html#msg20870]):

cd /opt
ln -sf arm-openwrt-linux toolchain-arm_gcc-4.5.1+l_uClibc-0.9.32_eabi/arm-openwrt-linux-uclibcgnueabi
ln -sf libiconv toolchain-arm_gcc-4.5.1+l_uClibc-0.9.32_eabi/usr/lib/libiconv-stub
ln -sf libintl toolchain-arm_gcc-4.5.1+l_uClibc-0.9.32_eabi/usr/lib/libintl-full
ln -sf /opt/toolchain-arm_gcc-4.5.1+l_uClibc-0.9.32_eabi/lib/crt*.o toolchain-arm_gcc-4.5.1+l_uClibc-0.9.32_eabi/lib/gcc/arm-openwrt-linux-uclibcgnueabi/4.5.2/

I found that also doing a blanket symlink worked best, but it may have broken things too (change $TOOLCHAINDIR as appropriate for you):

TOOLCHAINDIR=/opt/toolchain-arm_gcc-4.5.1+l_uClibc-0.9.32_eabi
ln -s $TOOLCHAINDIR/lib/* $TOOLCHAINDIR/usr/lib/
ln -s $TOOLCHAINDIR/bin $TOOLCHAINDIR/usr/bin