【发布时间】:2015-03-04 18:53:31
【问题描述】:
当使用 Xcode 出现“包不受信任”消息时,如何安装 gcc? 我用 brew install gcc 安装,它安装了 gcc,但我无法使用它:
brew install gcc
Warning: gcc-4.9.2_1 already installed
$ gcc-4.9.2 -o hello.o hello.c
-bash: gcc-4.9.2: command not found
$ gcc-4.9.2_1 -o hello.o hello.c
-bash: gcc-4.9.2_1: command not found
bidu:~ bidu$ whereis gcc
bidu:~ bidu$ whereis make
欢迎任何帮助。
【问题讨论】: