tce-load -i compiletc Xorg-7.7-3d-dev gst-plugins-base-dev pulseaudio-dev libxml2-dev libxslt lcms2-dev cups-dev gnutls3.6-dev libpcap-dev sane-backends-dev libv4l2-dev libgphoto2-dev mpg123 libopenal-dev libpng-dev glu-dev libxslt-dev vkd3d-dev SDL2-dev https://dl.winehq.org/wine/source/5.0/wine-5.0.1.tar.xz wget https://dl.winehq.org/wine/source/7.x/wine-7.17.tar.xz cd wine-7.17 CC="gcc -march=i586 -mtune=i686 -Os -pipe" CXX="g++ -march=i586 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var [-flto, i486 fails] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [1h 12m 8.59s] sudo make install correct perl location in /usr/local/bin function_grep.pl winemaker configure: MinGW compiler not found, cross-compiling PE files won't be supported. configure: OpenCL development files not found, OpenCL won't be supported. configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported. configure: libcapi20 development files not found, ISDN won't be supported. configure: libkrb5 development files not found (or too old), Kerberos won't be supported. configure: libnetapi not found, Samba NetAPI won't be supported. /usr/local/bin/ld: /usr/src/wine-7.17/include/winnt.h:6571: undefined reference to `__sync_val_compare_and_swap_8' /usr/local/bin/ld: /usr/src/wine-7.17/include/winnt.h:6571: undefined reference to `__sync_val_compare_and_swap_8'