首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >mono mkbundle :什么是mono_mkbundle_init()和JIT inizialization?

mono mkbundle :什么是mono_mkbundle_init()和JIT inizialization?
EN

Stack Overflow用户
提问于 2013-10-27 15:43:22
回答 1查看 272关注 0票数 0

由于下面的帮助,我尝试使用mkbundle命令捆绑我的应用程序:

http://www.mono-project.com/Guide:Running_Mono_Applications#Bundles

但是我不理解这个文档的这一部分:

With -c, the further option --nomain will generate the host.c file without a main method so that you can embed it as a library in an existing native application in which you are embedding the Mono runtime yourself. Just call mono_mkbundle_init() before initializing the JIT to make the bundled assemblies available.

这绝对是我需要做的!我还查找了这个文档:http://man.he.net/man1/mkbundle2

同样的部分:

代码语言:javascript
复制
You may also use mkbundle to generate a bundle you can use when  embed-
   ding  the Mono runtime in a native application.  In that case, use both
   the -c and --nomain options.  The resulting host.c file will not have a
   main() function.  Call mono_mkbundle_init() before initializing the JIT
   in your code so that the bundled assemblies are available to the embed-
   ded runtime.

我真的不知道什么是mono_mkbundle_init()initializing the JIT...谢谢

EN

回答 1

Stack Overflow用户

发布于 2014-07-02 17:11:25

mono_mkbundle_init()是由主机中的mkbundle生成的函数。c“初始化JIT”应该是单函数mono_jit_init(),因此其含义是在本机应用程序中链接生成的c文件,并在调用mono_mkbundle_init()之前调用mono_jit_init()。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19615769

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档