mkbundle Re: Re: [Mono-list] Compiling .NET programs to EXE files
that runwithout Mono/NET Framework
ted leslie
tleslie at tcn.net
Thu May 25 03:38:59 EDT 2006
I didn't know about mkbundle, tried it, and get the following, no mater what c# code I mkbundle.
Must be something typical causing this? (but i couldn't dig up anything ....)
Anyone have any ideas?
As for generating native code .... is it doing that? Or is it creating a "bundle"
but still doing a lot of intermediate work when running it?
-tl
# mkbundle -o serv server.exe
Sources: 1 Auto-dependencies: False
embedding: /usr/local/Chat/chat/server.exe
Compiling:
as -o /tmp/tmp3f4f4abc.o temp.s
cc -o serv -Wall temp.c `pkg-config --cflags --libs mono` /tmp/tmp3f4f4abc.o
temp.c:5: error: parse error before "assembly_bundle_server_exe"
temp.c:5: warning: type defaults to `int' in declaration of `assembly_bundle_server_exe'
temp.c:5: warning: initialization makes integer from pointer without a cast
temp.c:5: warning: excess elements in scalar initializer
temp.c:5: warning: (near initialization for `assembly_bundle_server_exe')
temp.c:5: warning: excess elements in scalar initializer
temp.c:5: warning: (near initialization for `assembly_bundle_server_exe')
temp.c:5: warning: data definition has no type or storage class
temp.c:7: error: parse error before '*' token
temp.c:7: warning: type defaults to `int' in declaration of `bundled'
temp.c:10: warning: data definition has no type or storage class
temp.c: In function `main':
temp.c:39: warning: implicit declaration of function `mono_register_bundled_assemblies'
>
> > Thanks in advance for your advice. Oh, by the way, will we see a source code
> > -> native image compiler anytime soon? Just fantasizing on the ability to
> > compile to native code in Linux. That would be a 1 up for Mono against .NET,
> > wouldn't it? <smile>
>
> There is already one, read the mkbundle man page.
>
> Miguel
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
More information about the Mono-list
mailing list