通过ghc和mingw工具交叉编译haskell代码

发布于 2024-09-15 08:39:04 字数 131 浏览 1 评论 0原文

我尝试过 -fvia-C-pgm,但它们都没有设法创建可执行文件,从而产生大量错误,例如 Warning:retaining C 编译器输出中存在未知函数“L4”

I've tried -fvia-C and the -pgms, but none of them manage to create an executable, splurting out lots of errors like Warning: retaining unknown function ``L4' in output from C compiler.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

终难遇 2024-09-22 08:39:04

GHC 不能用作开箱即用的交叉编译器。构建系统对交叉编译有一些支持,我们目前正在努力改进。有关详细信息,请参阅GHC wiki 上的交叉编译。我建议在 glasgow-haskell-users 或 cvs-ghc 邮件列表中进行进一步讨论。

GHC can't be used as a cross-compiler out of the box. The build system has some support for cross-compilation which we're currently working on improving. For more information, see CrossCompilation on the GHC wiki. I suggest taking further discussion to the glasgow-haskell-users or cvs-ghc mailing lists.

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