tce-load -i compiletc wget https://ftp.gnu.org/pub/gnu/mtools/mtools-4.0.35.tar.bz2 cd mtools-4.0.35 CC="gcc -flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" CXX="g++ -flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 43.39s] sudo make install