tce-load -i compiletc automake libtool-dev intltool libXtst-dev libXinerama-dev libXrandr-dev libXcomposite-dev libXcursor-dev libICE-dev libvncserver-dev cairo-dev https://github.com/LibVNC/x11vnc/archive/0.9.16.tar.gz cd x11vnc-0.9.16 ./autogen.sh CC="gcc -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" CXX="g++ -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 [1m 35.99s] sudo make install [need to use git as 0.9.16 build fails with gcc-10]