On 04/10/16 16:13, Salvo Tomaselli wrote: > Package: mono-devel > Version: 4.2.1.102+dfsg2-8 > Severity: normal > > Dear Maintainer, > > I tried creating a simple hello world program in mono > > using System; > > public class HelloWorld > { > static public void Main () > { > Console.WriteLine ("Hello world"); > } > } > > Then compiled it with mcs hello.cs, which produces an executable > that correctly prints. > > However, when trying to use mkbundle on that executable, the result is always > something like the one attached. > > I tried with different flags (static, deps) but the result is always the same. > > Also, the manpage talks about a mkbundle2, but there is no such binary > in debian.
Confirmed This should be fine in Mono 4.6 (in NEW). directhex@flame:/tmp$ mkbundle hello.exe OS is: Linux Sources: 1 Auto-dependencies: False embedding: /tmp/hello.exe AS = as (default) [execute cmd]: as -o temp.o temp.s Compiling: CC = cc (default) [execute cmd]: cc -ggdb -o 'a.out' -Wall temp.c `pkg-config --cflags --libs mono-2` temp.o Done directhex@flame:/tmp$ ./a.out Hello world