[Interest] Slow compiling on Mac
Bo Elmgreen
bo.elmgreen at gmail.com
Thu Aug 30 13:09:15 CEST 2012
Hi!
Thanks for the suggestions. Yes, it is true that I might be comparing
apples to pears :-) but what if gcc actually was just as fast as clang? ;-)
Anyway, I am now trying to set up clang in QtCreator. Since 4.8.0 (I think)
there are mkspecs for clang - although unsupported - but when compiling,
QtCreator cannot find clang++ :-/ And I cannot find it on my system. Maybe
it is because I still have Xcode 3.2.6 installed!? Hmmm - it seems like I
need to upgrade to Xcode 4 in order to get clang++ :-/
Cheers,
Bo
On Thu, Aug 30, 2012 at 12:48 PM, Konstantin Tokarev <annulen at yandex.ru>wrote:
>
>
> 30.08.2012, 14:37, "Till Oliver Knoll" <till.oliver.knoll at gmail.com>:
> > Am 30.08.2012 um 11:47 schrieb Bo Elmgreen <bo.elmgreen at gmail.com>:
> >
> >> ...(gcc in QtCreator and clang in Xcode)
> >
> > Here you go, you answered your own question! :)
> >
> > You were not comparing Qt Creator vs Xcode, but rather gcc vs clang!
> >
> >> ... are there tricks we can use to speed up the compiling?
> >
> > Usually the environment variable QMAKESPEC tells 'qmake' how to generate
> the Makefiles (for what compiler).
>
> There's no clang mkspec in Qt 4.7, so QMAKE_CXX needs to be specified on
> qmake command line.
>
> --
> Regards,
> Konstantin
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120830/82b5563d/attachment.html>
More information about the Interest
mailing list