Hi,
I had some problems compiling 32bit winelib apps on x86_64 - the tools tried to build for 64bit all the time. I had to change a few things in the winemaker created Makefile to make it work:
<>_exe_LDFLAGS: added "-Wb,--as-cmd='as --32',--ld-cmd='ld -melf_i386'" CC: added "-m32" CXX: added "-m32"
After applying the changes, everything worked as expected.
Greetings,
Stefan