[Pkg-mono-devel] Cross compiling issues with mkbundle in Mono

Jo Shields directhex at apebox.org
Wed Feb 15 15:33:22 UTC 2017


There's a problem right now with our CDN, which should be fixed later
today. For now, pass `--target-server
https://mono-project.azureedge.net/runtimes/raw/`

On 15/02/17 15:20, carmarri wrote:
> Hi all,
> 
> First of all I would like to thank everybody for this wonderful project.
> 
> I'm pretty new to Mono and I'm facing some issues while trying to use the
> new cross-compile/linking feature on Mono Linux, with the mkbundle tool. I'm
> using Linux Mint 14.04 32 bit in a Intel x86 environment and I would like to
> create a static binary using mkbundle for 64bit platforms. As a reference
> I'm using Mono, version 4.6.2
> 
> mc at Carles-nix ~ $ 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
> 
> According to the documentation I need to have the destination target file
> first, so I try to fetch it from the server:
> 
> mc at Carles-nix ~ $ 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
> mc at Carles-nix ~ $ 
> 
> But as you can notice, I always get the same error, no matter what is the
> file that I try to download.
> 
> I've noticed that there is no file for my version (4.6.2), so I'm not sure
> if this could be the root of the issue.
> 
> Could anybody please give me any clue on what is going on?
> 
> Thank you very much in advance.
> 
> 
> 
> 
> --
> View this message in context: http://mono.1490590.n4.nabble.com/Cross-compiling-issues-with-mkbundle-in-Mono-tp4670053.html
> Sent from the Debian Mono mailing list archive at Nabble.com.
> 
> _______________________________________________
> Pkg-mono-devel mailing list
> Pkg-mono-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mono-devel
> 



More information about the Pkg-mono-devel mailing list