tce-load -i compiletc pulseaudio-dev libEGL-dev http://www.libsdl.org/release/SDL2-2.0.12.tar.gz cd SDL2-2.0.12 CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --disable-static find . -name Makefile -type f -exec sed -i 's/-g -O3//g' {} \; make [2m 16.41s] sudo make install SDL2 Configure Summary: Building Shared Libraries Enabled modules : atomic audio video render events joystick haptic sensor power filesystem threads timers file loadso cpuinfo assembly Assembly Math : Audio drivers : disk dummy oss alsa(dynamic) pulse(dynamic) Video drivers : dummy x11(dynamic) opengl opengl_es1 opengl_es2 vulkan wayland(dynamic) X11 libraries : xdbe xinput2 xinput2_multitouch xrandr xshape xvidmode Input drivers : linuxev linuxkd Using libsamplerate : NO Using libudev : YES Using dbus : YES Using ime : YES Using ibus : NO Using fcitx : NO SDL is being built with ARM SIMD optimizations, which uses code licensed under the MIT license. If this is a problem, please disable that code by rerunning the configure script with: --disable-arm-simd