tce-load -i compiletc mesa-dev libEGL-dev libGLES-dev glew-dev glu-dev freetype-dev ftp://ftp.freedesktop.org/pub/mesa/demos/mesa-demos-8.4.0.tar.bz2 cd mesa-demos-8.4.0 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 [1m 49.23s] sudo make install checking for GL... yes checking GL/glut.h usability... no checking GL/glut.h presence... no checking for GL/glut.h... no checking for glutInit in -lglut... no checking for GLEW... yes checking for GLU... yes checking for EGL... yes checking for GLESV1... yes checking for GLESV2... yes checking for VG... no checking for OSMESA... no checking for DRM... yes checking for X11... yes checking for WAYLAND... yes checking for GBM... yes checking for FREETYPE2... yes