mingw-cross-env-list
[Top][All Lists]
Advanced

[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: Volker Grabsch
Subject: Re: [Mingw-cross-env-list] error when cross building on 64-bit platform
Date: Sat, 3 Oct 2009 21:27:25 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

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 ...


Greets,

    Volker

-- 
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR




reply via email to

[Prev in Thread] Current Thread [Next in Thread]