Questions tagged «shipping»

1
如何使用Language.Haskell.Interpreter交付可执行文件?
我希望使用嵌入Haskell解释器,hint以便可以在Haskell中编写插件以与程序一起使用。我不想为我的可执行文件提供整个Haskell平台。 通常,Haskell可执行文件是完全独立的。例如,擦除PATH不会导致问题: $ PATH=. Hello Hello world 但是,runInterpreter如果我擦除了一个使用炸弹的简单测试程序,则PATH: $ PATH=. TryHint GhcException "panic! (the 'impossible' happened)\n (GHC version 7.8.3 for x86_64-apple-darwin):\n\tDynamic linker not initialised\n\nPlease report this as a GHC bug: http://www.haskell.org/ghc/reportabug\n" 环境中必须提供哪些库或可执行文件才能使其正常工作? otool 没有给出太多指导: otool -L TryHint TryHint: /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0) /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.