I’m trying to compile SDL2 with
-m32 by cloning the current repo. It compiles normally but basically everything throws assertation errors.
Ignore the “couldn’t find texture” message, that’s my own thing and that error is supposed to happen.
I compiled SDL2, SDL2_image, SDL2_ttf and SDL2_mixer using the same commands.
./autogen.sh ./configure --build=i686-linux-gnu --prefix=/usr --libdir=/usr/lib/i386-linux-gnu/ --sysconfdir=/etc --localstatedir=/var "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32 -L/usr/lib/i386-linux-gnu" sudo make install