Compiling wine i686 on x86_64 system

Pasha R pashar.ml at gmail.com
Thu Mar 22 13:41:54 UTC 2012


On Thu, Mar 22, 2012 at 2:23 PM, Patrick Lists
<fedora-list at puzzled.xs4all.nl> 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.


More information about the users mailing list