我正在尝试使用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
但错误仍然存在。我一直在线学习一些教程,主要是this一个,所以也许它有错误。我检查了build.log
输出,它几乎与shell输出相同。这个问题有一个已知的解决方案,还是我忘记了某个步骤?