GCC works fine as well. SDL didn't compile, because I missed the osdcore.h include in src/osd/sdl/main.c, but it works fine after fixing that. Patch has already been applied to SVN and sent to MAMEdev. Moving on to 64-bit.