tce-load -i compiletc openssl-dev wget https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz sed -i 's/python/&3/' event_rpcgen.py cd libevent-2.1.12-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 46.08s] sudo make install