tce-load -i compiletc libXcursor-dev libpng-dev libxkbfile-dev https://www.x.org/archive//individual/app/xcursorgen-1.0.7.tar.bz2 https://www.x.org/archive//individual/app/xkbcomp-1.4.2.tar.bz2 cd xcursorgen-1.0.7 cd ../xkbcomp-1.4.2 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 find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make make install