tce-load -i git automake libtool-dev gettext-dev util-macros xorg-proto Xorg-7.7-dev git clone http://git.tinycorelinux.net/tinyx cd tinyx ./autogen.sh 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 --sysconfdir=/etc --localstatedir=/var --disable-static --enable-install-setuid find . -name Makefile -type f -exec sed -i 's/-O2/ /g' {} \; make sudo make install