tce-load -i compiletc wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.18-stable.tar.gz cd libsodium-stable 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 --disable-static find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [2m 25.47s] sudo make install