[Mono-list] Embedding Mono
mcoburn at globalscape.com
Wed Feb 6 17:04:17 UTC 2013
With regards to embedding the Mono runtime into an executable, I have seen
the following commands on the web:
mkbundle --deps --config-dir "./lib" MyApp.exe
cc -arch i386 -mmacosx-version-min=10.5 -I /opt/local/include/glib-2.0 -I
/opt/local/lib/glib-2.0/include -g -o MyApp -Wall temp.c `pkg-config
--cflags --libs mono` temp.o
I understand what the first command is doing, but what is the purpose of the
second command? It appears to me that it is using the clang compiler to
link the mono runtime with MyApp.exe, but isn't that redundant as mkbundle
does this as well?
View this message in context: http://mono.1490590.n4.nabble.com/Embedding-Mono-tp4658498.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list