尝试在Mac上安装AUTO-07P时出现GCC错误

时间:2020-01-13 11:02:17

标签: xcode macos gcc installation

我是mac的新手,我正在尝试在macOS(版本10.14.6)上安装软件AUTO-07P。我发现了以下说明-link。说明没有更新,因此我不确定是否需要从hpc.sourceforge.net安装gcc和gfortran,但是当我在终端中键入gcc -version时,我得到:

Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

但是,当我在./configure文件夹中输入auto/07p时,会得到:

checking for gcc... x86_64-apple-darwin13.4.0-clang
checking whether the C compiler works... no
configure: error: in `/Users/omertzuk/auto/07p':
configure: error: C compiler cannot create executables
See `config.log' for more details.

有关如何修复它的任何指示?

0 个答案:

没有答案