tce-load -i compiletc gtk3-dev glu-dev libnotify-dev gst-plugins-bad-dev libsecret-dev curl-dev libICE-dev wget https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.5/wxWidgets-3.1.5.tar.bz2 cd wxWidgets-3.1.5 CC="gcc -flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" CXX="g++ -flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" ./configure --prefix=/usr/local --localstatedir=/var [-fno-exceptions fails] find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; make [1h 19m 58s] sudo make install Configured wxWidgets 3.1.5 for `aarch64-unknown-linux-gnu' Which GUI toolkit should wxWidgets use? GTK+ 3 with support for GTK+ printing libnotify Should wxWidgets be compiled into single library? no Should wxWidgets be linked as a shared library? yes Should wxWidgets support Unicode? yes (using wchar_t) What level of wxWidgets compatibility should be enabled? wxWidgets 2.8 no wxWidgets 3.0 yes Which libraries should wxWidgets use? STL no jpeg sys png sys regex builtin tiff sys lzma yes zlib sys expat sys libmspack no sdl no