在 Mac OS X SL 上使用 crosstool-ng 构建工具链
我正在尝试为 Mac 上的 Linux 构建工具链。
我按照 docs/MacOS-X.txt 中指定的方式配置 ct-ng(除了我使用 MacPorts 中的 GNU 软件并且我的分区已经区分大小写)。然而,当我尝试构建时,我在 shell 文件中遇到很多错误,如下所示:
[ERROR] called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 250 in function 'CT_OnError'
[ERROR] called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 116 in function 'CT_DoExecLog'
[ERROR] called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 254 in function 'CT_DoForceRmdir'
[ERROR] called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/crosstool-NG.sh' at line # 201 in function 'main'
[ERROR] Look at '/opt/ct-ng/i386-unknown-linux-gnu/build.log' for more info on this error.
考虑到我在不同的 ct-ng shell 脚本上遇到很多相同的错误,我认为我错过了一些明显的东西。但我仔细检查了配置,无法确定此问题的原因。
I am trying to build toolchain for Linux on Mac.
I configure ct-ng as specified in docs/MacOS-X.txt(except that i use GNU soft from MacPorts and my partition is already case-sensitive). However when I try to build i get a lot of errors in shell files that looks like:
[ERROR] called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 250 in function 'CT_OnError'
[ERROR] called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 116 in function 'CT_DoExecLog'
[ERROR] called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 254 in function 'CT_DoForceRmdir'
[ERROR] called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/crosstool-NG.sh' at line # 201 in function 'main'
[ERROR] Look at '/opt/ct-ng/i386-unknown-linux-gnu/build.log' for more info on this error.
Considering that I get a lot of this same errors on different ct-ng shell scripts I think i missed something obvious. But I double checked configuration and cant determine cause of this problems.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议你在 crossgcc 邮件列表上询问。您可以通过 http://sources.redhat.com/ml/crossgcc/ 进行
订阅具体问题目前尚未解决。请参阅存档中的这些线程
I suggest you ask on the crossgcc mailing list. You can subscribe at http://sources.redhat.com/ml/crossgcc/
The specific issue is currently unresolved. See these threads in the archive