tce-load -i compiletc ncursesw-dev wget http://deb.debian.org/debian/pool/main/d/dialog/dialog_1.3-20231002.orig.tar.gz cd dialog-1.3-20231002 CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --disable-static --with-ncursesw --enable-widec find . -name makefile -type f -exec sed -i 's/-g -O2//g' {} \; make sudo make install