tce-load -i compiletc ncurses-dev http://ftp.gnu.org/gnu/readline/readline-8.0.tar.gz cd readline-8.0 sed -i '/MV.*old/d' Makefile.in sed -i '/{OLDSUFF}/c:' support/shlib-install CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --with-curses find . -name Makefile -type f -exec sed -i 's/-g -O//g' {} \; make SHLIB_LIBS="-L/usr/local/lib -lncursesw" [0m 18.00s] sudo make SHLIB_LIBS="-L/usr/local/lib -lncursesw" install