tce-load -i compiletc pulseaudio-dev libxkbcommon-dev wget https://github.com/libsdl-org/SDL/releases/download/release-2.24.0/SDL2-2.24.0.tar.gz cd SDL2-2.24.0 CC="gcc -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --disable-static --disable-oss find . -name Makefile -type f -exec sed -i 's/-g -O3//g' {} \; make [1m 32.28s] sudo make install SDL2 Configure Summary: Building Shared Libraries Enabled modules : atomic audio video render events joystick haptic hidapi sensor power filesystem threads timers file misc locale loadso cpuinfo assembly Assembly Math : mmx 3dnow sse Audio drivers : disk dummy alsa(dynamic) pulse(dynamic) Video drivers : dummy x11(dynamic) kmsdrm(dynamic) opengl opengl_es1 opengl_es2 vulkan X11 libraries : xcursor xdbe xinput2 xinput2_multitouch xfixes xrandr xscrnsaver xshape Input drivers : linuxev linuxkd Enable virtual joystick APIs : YES Using libsamplerate : NO Using libudev : YES Using dbus : YES Using ime : YES Using ibus : NO Using fcitx : YES