[Qt-interest] Recompile Qt with different -march option

Etienne Sandré-Chardonnal etienne.sandre at polytechnique.org
Mon Jul 13 14:27:07 CEST 2009


Dear all,


I would like to recompile qt-mingw using the -march=pentium4 flag. Who knows
how to do that?

Actually, I have trouble when inserting SSE instructions in my application.
The code compiles well with -march=pentium4, but the app segfaults when SSE
containing functions are called by QT functions (through signals/slots for
instance), since they do not 16-byte align the stack. I suppose this is
because Qt libraries were not built with a SSE-compatible -march target.

Thanks,

Etienne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090713/19df4333/attachment.html 


More information about the Qt-interest-old mailing list