[英]cross-compiling haskell code through ghc and mingw tools
我已经尝试过-fvia-C
和-pgm
,但是它们都没有设法创建可执行文件,并散发出了很多错误,例如Warning: retaining unknown function ``L4' in output from C compiler
。
GHC can't be used as a cross-compiler out of the box. GHC不能直接用作交叉编译器。 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 .
有关更多信息,请参见GHC Wiki上的CrossCompilation 。 I suggest taking further discussion to the glasgow-haskell-users or cvs-ghc mailing lists.
我建议对glasgow-haskell-users或cvs-ghc邮件列表进行进一步讨论。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.