尝试用 sublime text3 编译 C
build 的时候弹出这些
ld: unknown option: --static
clang: error: linker command failed with exit code 1 (use -v to see invocation )
[Finished in 0.1s with exit code 1]
[shell_cmd: gcc "" -o "/" -std=c11 -O2 -Wall -lm --static]
[dir: /Users/Anhedonia/Desktop/Workspace/sublime text]
[path: /usr/bin:/bin:/usr/sbin:/sbin]
在终端里 gcc+文件名也没有反应 现在用的是 OS X10.11
build 的时候弹出这些
ld: unknown option: --static
clang: error: linker command failed with exit code 1 (use -v to see invocation )
[Finished in 0.1s with exit code 1]
[shell_cmd: gcc "" -o "/" -std=c11 -O2 -Wall -lm --static]
[dir: /Users/Anhedonia/Desktop/Workspace/sublime text]
[path: /usr/bin:/bin:/usr/sbin:/sbin]
在终端里 gcc+文件名也没有反应 现在用的是 OS X10.11