tce-load -i openssl-dev sqlite3-dev tk-dev glib2-dev glib2-python gdbm-dev bzip2-dev ncurses-dev readline-dev cd Python-2.7.10 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 --enable-shared --with-system-expat --with-system-ffi find . -name Makefile -type f -exec sed -i 's/-O3//g' {} \; make sudo make install sudo chmod 755 /usr/local/lib/libpython2.7.so.1.0