http://bugs.winehq.org/show_bug.cgi?id=29021
--- Comment #2 from Austin English austinenglish@gmail.com 2011-11-07 14:43:14 CST --- (In reply to comment #1)
User error, -m32 needs to be part of CC not CFLAGS.
Doing that still fails: `CC="gcc -m32" ./configure && make`
make[1]: Entering directory `/home/austin/wine-git/dlls/acledit' ../../tools/winegcc/winegcc -B../../tools/winebuild --sysroot=../.. -fasynchronous-unwind-tables -shared ./acledit.spec main.o -o acledit.dll.so ../../libs/port/libwine_port.a /usr/bin/ld: Relocatable linking with relocations from format elf32-powerpc (main.o) to format elf64-powerpc (acledit.Cwk97h.o) is not supported winebuild: /usr/bin/ld failed with status 1 winegcc: ../../tools/winebuild/winebuild failed make[1]: *** [acledit.dll.so] Error 2 make[1]: Leaving directory `/home/austin/wine-git/dlls/acledit' make: *** [dlls/acledit] Error 2
[austin@gcc1-power7 acledit]$ make clean rm -f *.o *.a *.so *.mo *.ln *.res *.fake *.so #*# *~ *% .#* *.bak *.orig *.rej *.flc core rm -f [austin@gcc1-power7 acledit]$ make gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings -Wpointer-arith -Wlogical-op -I/usr/include/freetype2 -g -O2 -o main.o main.c ../../tools/winegcc/winegcc -B../../tools/winebuild --sysroot=../.. -fasynchronous-unwind-tables -shared ./acledit.spec main.o -o acledit.dll.so ../../libs/port/libwine_port.a /usr/bin/ld: Relocatable linking with relocations from format elf32-powerpc (main.o) to format elf64-powerpc (acledit.UP0HNO.o) is not supported winebuild: /usr/bin/ld failed with status 1 winegcc: ../../tools/winebuild/winebuild failed make: *** [acledit.dll.so] Error 2