tce-load -i compiletc cmake openssl-dev libjpeg-turbo-dev libpng-dev https://github.com/LibVNC/libvncserver/archive/LibVNCServer-0.9.12.tar.gz cd libvncserver-LibVNCServer-0.9.12 mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE -Wno-dev ../ make [0m 49.75s] sudo make install