[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mingw-cross-env-list] -little-endian required for cross building Qt

From: Mark Brand
Subject: [Mingw-cross-env-list] -little-endian required for cross building Qt
Date: Fri, 21 May 2010 23:27:35 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100520 SUSE/3.1rc1-1.1 Thunderbird/3.1

The workaround is probably to add "-little-endian" to the configure
Would you mind trying that? If it works, I'll patch the configure script
Adding -little-endian does indeed work and allows the build to
complete and the test program to run.

Excellent. Was that for Qt 4.6.2 or Qt 4.7.0-beta1? Can you check on both?
That was 4.7, 4.6 seems to already have the -little-endian enabled.

Thanks for checking that again. Please let me know if you run into any more troubles with Qt 4.7.

I think it makes sense to just add "-little-endian" to the configure invocation. The configure script cannot detect the endianness of a cross-target anyway, so it's not surprising that we have to supply it.

The other option would be to derive this from the fact that the target is Windows, "-little-endian" is simple and effective.

I made this change to the qt.mk file at the usual URL.



reply via email to

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