tce-load -i compiletc https://github.com/cjlin1/liblinear/archive/v230/liblinear-230.tar.gz cd liblinear-230 find . -name Makefile -type f -exec sed -i 's/-O3//g' {} \; make 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" lib [0m 1.81s] sudo install -vm644 linear.h /usr/local/include sudo install -vm755 liblinear.so.3 /usr/local/lib sudo ln -sfv liblinear.so.3 /usr/local/lib/liblinear.so