It's good to hear that you like the port and that you managed to compile it.
Mixed 32-bit/64-bit systems are something of a mess. I think the
autoconf SDL script runs sdl-config to get the flags. I'm not sure if
there are two of them, one for each architecture.
Our configure script looks for libraries in their default paths, uses
pkg-config and sdl-config. To get it to work correctly on a
non-standard system, it would have to know where to find sdl-config, .pc
files and be pointed to the right library directory. It's possible to
achieve this by setting the right PATH, PKG_CONFIG_PATH, CFLAGS/LDFLAGS;
for some dependencies it's also possible to pass parameters to configure.
Also, maybe ./configure --target=i686-linux-gnu would be cleaner than
adding -m32 to CFLAGS, but as long as it works, it shouldn't make a
difference.
I think that it's not practical to hard-code these settings in the
configure script for every problematic system, it's best to leave the
burden on the person compiling the game. Still, maybe we could make a
page with compiling instructions for others who have the same problem,
if there is sufficient demand for such a thing.
--
Unavowed
That should have said ./configure --host=i686-linux-gnu
--
Unavowed