I'm trying to compile SDL in 32-bit mode on Ubuntu 24.04 with gcc. I need it because I want to develop with u8g2 with RIOT OS.
I followed the installation procedure, with these variations:
$ CFLAGS=-m32 ../configure --enable-audio=no --enable-power=no
But I get compilation error about incompatibilities between 32 and 64-bit binaries. What's the way to do it?