【发布时间】:2018-02-13 11:13:58
【问题描述】:
我试图在 macOS Sierra(版本 10.12.6)上安装 valgrind。在运行 ./configure.sh 时,出现了这个错误:
正在检查受支持的 gcc 版本... 配置为: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 配置:--prefix=/Library/Developer/CommandLineTools/usr --with -gxx-include-dir=/usr/include/c++/4.2.1 no (applellvm-8.1.0) configure: error: please use gcc >= 3.0 or clang >= 2.9 or icc >= 13.0
所以,我检查了我的 gcc 和 clang 版本。回复如下:
Ankits-MacBook-Air:valgrind ankitshubham$gcc --version已配置 与:--prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM 版本 8.1.0 (clang-802.0.42) 目标:x86_64-apple-darwin16.7.0 线程模型:posix 安装目录:/Library/Developer/CommandLineTools/usr/bin
Ankits-MacBook-Air:valgrind ankitshubham$clang --version苹果 LLVM 版本 8.1.0 (clang-802.0.42) 目标:x86_64-apple-darwin16.7.0 线程模型:posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
我不知道如何检查 icc>=13.0
这里有什么问题?
【问题讨论】: