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 -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --disable-static make SHLIB_LIBS="-L/usr/local/lib -lncursesw" sudo make SHLIB_LIBS="-L/usr/local/lib -lncursesw" install