how do I create a stand-alone executable with perl 6?

穿精又带淫゛_ 提交于 2019-12-06 20:18:59

问题


The OLD Perl 6 faq said: "Rakudo, a Perl 6 compiler based on Parrot, allows compilation to bytecode, and a small wrapper exists that can pack up a bytecode file and parrot into a single executable."

So, it was possible to create a stand-alone executable, but I can not find any docs explaining how to go about this, or if it's still possible. So, I turn to you. What is the appropriate set of incantations required to convert Perl 6 code into a stand-alone executable that will work on a system that does not have Perl 6 installed.


回答1:


This is not possible with current Rakudo on MoarVM. There's still some dust that needs to settle regarding module loading and automatic compilation, but once that has happened, I see no reason why this ability couldn't be reintroduced if there is sufficient demand.



来源:https://stackoverflow.com/questions/34663117/how-do-i-create-a-stand-alone-executable-with-perl-6

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!