tce-load -i compiletc libevent-dev readline-dev libcap-dev wget https://downloads.nwtime.org/ntp/4.2.8/ntp-4.2.8p18.tar.gz cd ntp-4.2.8p18 sed -e "s;pthread_detach(NULL);pthread_detach(0);" -i configure sntp/configure 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 --with-lineeditlibs=readline --bindir=/usr/local/sbin find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [5m 34.77s] sudo make install