Running 32-bit version of Mono Embedded

邮差的信 提交于 2020-01-06 05:41:08

问题


When running a C# program using Mono and you want to use 32-bit version, you just use mono --arch=32, but how can you do it when using Embedded Mono? I couldn't find any dedicated function in official documentation, and

char* options[1];
options[0] = (char*)malloc(50 * sizeof(char));
strcpy(options[0], "--arch=32");
mono_jit_parse_options(1, (char**)options);

results in Mono shutting down with Unsupported command line option: '--arch=32'

来源:https://stackoverflow.com/questions/47016012/running-32-bit-version-of-mono-embedded

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