开发者

cross-compiling haskell code through ghc and mingw tools

开发者 https://www.devze.com 2023-01-12 08:45 出处:网络
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 开发者_如何学JAVA``L4\' in output from C compi

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 开发者_如何学JAVA``L4' in output from C compiler.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消