tce-load -i xorg-proto fontconfig-dev libxcb-dev gettext font-util cd libX11-1.6.3 cd ../libXext-1.3.3 cd ../libICE-1.0.9 cd ../libXt-1.1.5 cd ../libXmu-1.1.2 cd ../libXpm-3.5.11 cd ../libXaw-1.0.13 cd ../libXrender-0.9.9 cd ../libfontenc-1.1.3 cd ../libXfont-1.5.1 cd ../libXft-2.3.2 cd ../libXi-1.7.5 cd ../libXrandr-1.5.0 cd ../libXv-1.0.10 cd ../libXvMC-1.0.9 cd ../libXxf86vm-1.1.4 cd ../libpciaccess-0.13.4 cd ../libxkbfile-1.0.9 cd ../libxshmfence-1.2 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 --disable-static --localstatedir=/var --sysconfdir=/etc [libXt --with-appdefaultdir=/etc/X11/app-defaults] [libXfont --disable-devel-docs] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make make install X11 will be built with the following settings: Loadable i18n module support: no Loadable xcursor library support: yes Threading support: yes Use Threads safe API: yes Threads stubs in libX11: no XCMS: yes Internationalization support: yes XF86BigFont support: yes XKB support: yes XLOCALEDIR environment variable support: yes Compose table cache enabled: yes Functional specs building enabled: yes