2010/9/15 Wolfgang Glas <[email protected]>

> Ruben,
>
>  Can you please tell me, with which mingw-w64 toolchain you compiled
> current
> qt-4.7 snapshots, because we will do the same in the next week or so...


>
 We currently have good mileage with a qt-4.7 snapshot taken at 2010-06-01
> and
> sezero's toolchain from 2010-07-02.
>
>  TIA, Wolfgang
>

I used sezero's toolchain until TDM came along with his fixed GCC 4.5.2
mingw-w64 toolchain (he calls it TDM64), which can compile with lto
(link-time-optimization). I have not done any tests yet, but it is fabled to
be similar in result as MSVC's /GL and /LTCG switches. You can easily add it
to Qt and all qmake projects by adding to mkspecs/win32-g++/qmake.conf the
following lines:

QMAKE_CFLAGS_LTCG       = -flto
> QMAKE_LFLAGS_LTCG       = -flto -fwhopr=#
>

where # = number of cores. It will allow the link step to be performed
multi-threaded.

As for what Qt to use... I would recommend the latest development release (I
think it's RC1) or just plainly the git repo branch 4.7-stable. I regularly
recompile to check if nothing broke. Currently I have only one gotcha in
this regard: QtWebKit x64 will try to launch 32-bit flash and thus the
browser demo will crash when visiting a site with flash. x86 I do not know.
I've experienced no other crashes.

Ruben
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to