tce-load -i compiletc automake libtool-dev intltool bash sdl2-dev libxkbfile-dev wget https://github.com/joncampbell123/dosbox-x/archive/refs/tags/dosbox-x-windows-v2022.08.0.tar.gz cd dosbox-x-dosbox-x-windows-v2022.08.0 ./autogen.sh 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 --enable-sdl2 [-fno-rtti fails] find . -name Makefile -type f -exec sed -i 's/-g -std=gnu11 -O2/-std=gnu11/g' {} \; find . -name Makefile -type f -exec sed -i 's/-g -std=gnu++14 -O2/-std=gnu++14/g' {} \; make [42m 52.88s] sudo make install