相关疑难解决方法(0)

Mac OS Sierra:检查C编译器是否正常工作......没有

我想在我的MacOS Sierra系统上编译一个C库,但是我收到以下错误:

checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... clang
checking whether the C compiler works... no
configure: error: in `/Users/macuser/Downloads/libr':
configure: error: C compiler cannot create executables
Run Code Online (Sandbox Code Playgroud)

我尝试按OS X 10.9.2中的建议设置符号链接 …

c macos xcode gcc macos-sierra

6
推荐指数
1
解决办法
4432
查看次数

标签 统计

c ×1

gcc ×1

macos ×1

macos-sierra ×1

xcode ×1