c++ - Compile time with clang on Linux vs. Mac OSX -
i'm working on cross-platform project using c++11, boost, qt , smaller libraries.
testing build on mac osx realized clang takes 66% of time compared clang on linux mint 17 on same machine. qmake based debug build (-j8) same settings.
the versions different:
clang: 3.4 boost: 1.55.0 qt: 5.3 vs 5.2.1switching libc++ on linux made no difference.
where huge difference in compile time come from? can accomplish same speed on linux?
clang built 64-bit amd64 on os x, might 32-bit x86 depending on mint build. 64 vs. 32-bit can have effect on compiler performance.
c++ linux osx c++11
No comments:
Post a Comment