通过ghc和mingw工具交叉编译haskell代码 [英] cross-compiling haskell code through ghc and mingw tools

查看:263
本文介绍了通过ghc和mingw工具交叉编译haskell代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试过 -fvia-C -pgm s,但他们都没有设法创建一个可执行文件,会弹出大量错误,如警告:在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.

推荐答案

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.

这篇关于通过ghc和mingw工具交叉编译haskell代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆