tce-load -i compiletc perl5 https://www.x.org/pub/individual/data/xkeyboard-config/xkeyboard-config-2.28.tar.bz2 cd xkeyboard-config-2.28 CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --sysconfdir=/etc --with-xkb-rules-symlink=xorg find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make make install