How a recent version of GCC (4.6) could be used together with Qt under Mac OS?
My problem is related to the one discussed here: Is there a way that OpenMP can operate on Qt spanwed threads? Upon trying to run my Qt-based program under Mac OS that has an OpenMP clause in a secondary thread, it crashed. After browsing through the web, now I understand that it is caused by a bug in the rather old version (4.2) of gcc supplied by Apple. Then I downloaded the latest 4.6 version of gcc from http://hpc.sourceforge.net and tried to compile the project, but I got the following errors from g++ compiler: unrecognized option ‘-arch’ unrecognized option ‘-Xarch_x86_64’ I learned that