tce-load -i compiletc SDL2-dev libpng-dev tiff-dev libwebp-dev https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.5.tar.gz cd SDL2_image-2.0.5 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 --disable-static --localstatedir=/var find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 26.07s] sudo make install