Compiling wine i686 on x86_64 system

Patrick Lists fedora-list at puzzled.xs4all.nl
Thu Mar 22 12:23:11 UTC 2012


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

Regards,
Patrick


More information about the users mailing list