我正在尝试使用Crosstool-NG
. 我正在Crosstool-NG 1.22.0
使用OS X 10.11.4
.
我使用 安装homebrew
,所以我不确定为什么我缺少依赖项。当我尝试构建时,这是我的输出:
$ ct-ng build
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20160504.172530
[INFO ] Building environment variables
[ERROR] Missing: 'x86_64-apple-darwin15.4.0-gcj' or 'x86_64-apple-darwin15.4.0-gcj' or 'gcj' : either needed!
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_Abort[scripts/functions@329]
[ERROR] >> called from: CT_TestAndAbort[scripts/functions@351]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@458]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> '/usr/local/Cellar/crosstool-ng/1.22.0/share/doc/crosstool-ng/crosstool-ng-1.22.0/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 0:01.00)
[00:02] / make: *** [build] Error 1
如果需要,我可以附加我的 .config 文件,但我相信错误是在那之前。
我已经尝试过运行:
$ brew install gcc --with-java
但错误仍然存在。我一直在网上关注一些教程,主要是这个,所以可能有错误。我检查了build.log
输出,它几乎与 shell 输出相同。这个问题是否有已知的解决方案,或者我在某处忘记了一步?