【发布时间】:2014-01-16 06:29:45
【问题描述】:
我正在尝试按照以下方式构建 Clang:http://clang.llvm.org/get_started.html
在第 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) 上
【问题讨论】: