Added error message if gcc is not found on Mac OS X.

这个提交包含在:
Craig Warren
2016-01-18 16:00:34 +00:00
父节点 b7978d99a8
当前提交 66ef313e39

查看文件

@@ -107,7 +107,7 @@ elif sys.platform == 'darwin':
if gccpath:
os.environ['CC'] = gccpath[0].split(os.sep)[-1]
else:
raise('Cannot find gcc in /usr/local/bin. gprMax requires gcc to be installed.')
raise('Cannot find gcc in /usr/local/bin. gprMax requires gcc to be installed - easily done through the Homebrew package manager (http://brew.sh).')
compile_args = ['-O3', '-fopenmp', '-w']
linker_args = ['-fopenmp']
# Linux