在Mono Linux上使用mkbundle工具尝试使用新的交叉编译/链接功能时,我遇到了一些问题。 我在Intel x86环境中使用Linux Mint 14.04 32位,我想用64位平台的mkbundle创建一个静态二进制文件。 由于我使用的是单声道参考,4.6.2版在Mono中与mkbundle交叉编译问题
[email protected] ~ $ mono --version
Mono JIT compiler version 4.6.2 (Stable 4.6.2.16/ac9e222 Tue Jan 3 11:57:29 UTC 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
据我需要先有目的地目标文件的文档,所以我尝试从服务器获取它:
[email protected] ~ $ mkbundle --fetch-target 4.6.1-linux-libc2.12-amd64 --target-server https://download.mono-project.com/runtimes/raw/
Downloading runtime https://download.mono-project.com/runtimes/raw/4.6.1-linux-libc2.12-amd64 to /home/mc/.mono/targets/4.6.1-linux-libc2.12-amd64/mono
Failure to download the specified runtime from https://download.mono-project.com/runtimes/raw/4.6.1-linux-libc2.12-amd64
[email protected] ~ $
但是,正如你可以注意到的,无论我尝试下载的文件是什么,我都会得到相同的错误。
我注意到我的版本没有文件(4.6.2),所以我不确定这是否可能是问题的根源。
有没有人请给我任何线索发生什么事?
非常感谢您提前。
Thanks @ dominic.e 根据我与Mono合作的人分享的一些电子邮件,看起来这个项目的这一部分还不成熟,所以它需要一些调试和返工。 – Carles