[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] error when cross building on 64-bit platform
From: |
Mark Brand |
Subject: |
Re: [Mingw-cross-env-list] error when cross building on 64-bit platform |
Date: |
Sun, 04 Oct 2009 21:18:29 +0200 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
Volker Grabsch wrote:
> Mark Brand <address@hidden> schrieb:
>
> [ Building Qt ]
>
>
>>> /tmp/ccrW3IFn.s: Assembler messages:
>>> /tmp/ccrW3IFn.s:937: Error: suffix or operands invalid for `cmpxchg'
>>>
>> If anybody knows anything about this, I would appreciate some help. I
>> have found a few mentions of similar problems, but have not turned up
>> any solutions.
>>
>
> The solution is to specify "-host-arch" in addition to "-xplatform",
> as the host-arch is otherwise infered in a wrong way on 64-bit platforms.
> So instead of
>
> ./configure -xplatform win32-g++ ...
>
> you have to run
>
> ./configure -xplatform win32-g++ -host-arch i386 ...
>
Nice work! Thanks.