tce-load -i compiletc mesa-dev libEGL-dev libGLES-dev ftp://ftp.freedesktop.org/pub/mesa/glu/glu-9.0.1.tar.xz cd glu-9.0.1 CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" ./configure --prefix=/usr/local -disable-static --localstatedir=/var --sysconfdir=/etc find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [2m 8.93s] sudo make install