tce-load -i compiletc wget http://bitmath.org/code/mtdev/mtdev-1.1.6.tar.bz2 cd mtdev-1.1.6 CC="gcc -flto -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -flto -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --sysconfdir=/etc --build=aarch64-unknown-linux find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 6.03s] sudo make install