【问题标题】:Aot-full compilation in Mono for iOsMono for iOs 中的 AOT 完全编译
【发布时间】:2014-10-08 19:17:39
【问题描述】:

有没有办法使用股票单声道并使用--aot=full 编译到 iO ?

我知道 Xamarin,但我正在寻找一个免费的解决方案,因为我正在寻找一种自动化的方法来测试 FOSS 项目中的一些 AOT 特定的错误。

我知道 Unity 使用一个可执行文件 mono-xcompiler 来执行此操作,但我不知道这个可执行文件是如何从单声道代码库编译的。

【问题讨论】:

    标签: ios mono xamarin.ios xamarin


    【解决方案1】:

    好的,我找到了答案。您需要在交叉编译模式下编译单声道。我的机器(64 位 Linux)中的配置参数如下:

    CFLAGS=-m32 ./configure --target=arm-darwin11 --host=i686-linux --enable-system-aot --with-sgen=no
    

    我们需要编译为 32 位,因为 mono 无法从 64 位可执行文件生成 ARM 版本;此外,sgen 导致 TLS 模式出现问题。有可能克服这个问题,但我还没有找到办法。

    【讨论】:

      【解决方案2】:

      另一种选择可能是申请开源项目 Xamarin 许可证:http://resources.xamarin.com/open-source-contributor.html

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2012-03-20
        • 1970-01-01
        • 2012-03-05
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2023-04-02
        • 1970-01-01
        相关资源
        最近更新 更多