我想建立鏘以下這一點:http://clang.llvm.org/get_started.html大廈鐺,的libstdC++ 4.6與libstdC++ 4.7
在步驟6命令../llvm/configure
運行一系列檢查和一個告訴我:
checking whether Clang will select a modern C++ standard library... no
configure: error:
We detected a missing feature in the standard C++ library that was known to be
missing in libstdc++4.6 and implemented in libstdc++4.7. There are numerous
C++11 problems with 4.6's library, and we don't support GCCs or libstdc++ older
than 4.7. You will need to update your system and ensure Clang uses the newer
standard library.
If this error is incorrect or you need to force things to work, you may pass
'--disable-compiler-version-checks' to configure to bypass this test.
我不知道如何解決這個問題,谷歌搜索libstdC++ 4.7沒有產生任何有用的東西或我理解的東西。我如何去替換/升級呢?我在Mac上(10.7.5)
我最終需要自己做,畢竟這工作,謝謝 – asimes
這隻適用於如果你在MacOSX上,因爲目前,libcxx僅適用於MacOSX。在其他Unix/Linux上,我認爲唯一的解決方案是以某種方式安裝libstdC++ 4.7。 – Albert