我意识到在Xcode 4.2中有一长串与新的基于llvm的gcc相关的问题。
我尝试了rvm get head
, rvm install apple-gcc42
安装正常,但我无法brew link apple-gcc42
它的原因如下:
Error: Could not symlink file: /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/i686-apple-darwin11-gfortran-4.2.1
Target /usr/local/bin/i686-apple-darwin11-gfortran-4.2.1 already exists. You may need to delete it.
To force the link and delete this file, do:
brew link --overwrite formula_name
To list all files that would be deleted:
brew link --overwrite --dry-run formula_name
我不确定我是否应该在这里尝试brew link --overwrite apple-gcc42
。没有关于"Target /usr/local/bin/i686-apple-darwin11-gfortran-4.2.1 already exists"
错误的参考。有人能提供一些建议吗?
我担心的是它是否会影响到Xcode 4.2。
如果你不知道这个文件,那么你可以安全地删除它- /usr/local/bin/i686-apple-darwin11-gfortran-4.2.1
-顾名思义,它是fortran
,现在在任何标准软件开发中都不使用