Tasks necessary to complete the embedding:
- * Allow --static flag (very important).
-
- * Provide a mono-static .pc file that can be used with this tool.
-
- * Provide a way to allow the user to pass extra options to gcc
- (to control how to get libicu statically linked for example).
-
- * Warn if the user is using ICU?
-
* Pass the main executable as the first argument to the
mono_main routine so it starts executing it.
* Need to trace a typical execution and locate the files that this
will require at runtime, provide hooks of some form.
-Independently:
+Windows Issues:
+
+--static doesn't work because libmono.a is not distributed with the
+Windows package.
+
+Not a big deal, because the needed dlls can be simply distributed with
+the mkbundle-generated executable.
+
+For example, a bundled XSP needs:
+
+mono-1.dll
+libglib*.dll
+libgmodule*.dll
+libgthread*.dll
+iconv.dll
+intl.dll
+
+(roundabout 10MB). This seems to be the minimal working set of dlls
+that have to be distributed with a bundled application.
- * Turn off ICU by default in Mono anyways?
+-z doesn't work due to some weird cygwin zlib problems.
-