Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22016

Error in GCC when trying to install AUTO-07P on mac

$
0
0

I am new to mac, and I am trying to install the software AUTO-07P on my macOS (version 10.14.6). I have found the following instructions - link. The instructions are not updated, so I am not sure whether I need to install the gcc and gfortran from hpc.sourceforge.net, but when I type gcc -version in the terminal I get:

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

However, when I type ./configure in auto/07p folder I get:

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.

Any directions on how to fix it?


Viewing all articles
Browse latest Browse all 22016

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>