tce-load -i compiletc ncursesw-dev cd readline-7.0 sed -i '/MV.*old/d' Makefile.in sed -i '/{OLDSUFF}/c:' support/shlib-install CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --disable-static make SHLIB_LIBS="-L/usr/local/lib -lncursesw" make SHLIB_LIBS="-L/usr/local/lib -lncursesw" install