On Thu, Mar 22, 2012 at 2:23 PM, Patrick Lists <fedora-list@xxxxxxxxxxxxxxxxx> wrote: > On 22-03-12 12:37, Pasha R wrote: >> >> Hi, >> >> I'm trying to compile latest wine rpm on my F14 64-bit system. I >> grabbed latest SRPM from rawhide, and do rpmbuild --rebuild >> wine.src.rpm to build x86_64 version. But, when I'm trying to build >> 32-bit version using rpmbuild --rebuild --target=i686 wine.src.rpm, it >> starts to compile, but somewhere in the middle I get an error: >> >> /usr/bin/ld: Relocatable linking with relocations from format >> elf32-i386 (main.o) to format elf64-x86-64 (acledit.Mr2Fll.o) is not >> supported >> >> Are there any additional options I missed? > > > Perhaps try this (it's one big line): > > CC='gcc -m32' CXX='g++ -m32' linux32 rpmbuild -bb --target=i686 wine.spec This didn't work. The error is generated by winegcc called during build and it looks like neither CC/CXX nor CFLAGS/CXXFLAGS are being passed to it. -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org