在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