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

tangke tangk at lemote.com
Sat Jul 25 14:50:40 CEST 2009


On 07/13/2009 08:27 PM, Etienne Sandré-Chardonnal wrote:
> 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
>
>    
I think that you can change the makefile.in and add the parameters of  
-march=pentium4
or
maybe you can change the gcc config file to add the -march=pentium4
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090725/1bcdd161/attachment.html 


More information about the Qt-interest-old mailing list