在 Mac OS X SL 上使用 crosstool-ng 构建工具链

发布于 2024-08-16 16:25:31 字数 836 浏览 1 评论 0原文

我正在尝试为 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

感情洁癖 2024-08-23 16:25:31

我建议你在 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文