Major improvement of Visual Studio toolchain and Windows SDK support in mkbundle.
[mono.git] / mcs / tools / mkbundle / TODO
1 Tasks necessary to complete the embedding:
2
3         * Pass the main executable as the first argument to the
4           mono_main routine so it starts executing it.
5
6 Files:
7
8         * Need to trace a typical execution and locate the files that this
9           will require at runtime, provide hooks of some form.
10
11 Windows Issues:
12
13         * --static is not currently supported:
14
15                 The GC needs to be notified about new threads that is also
16                 possible using TLS callbacks. IMAGE_DIRECTORY_ENTRY_TLS
17                 has to be set in the PE image to an IMAGE_TLS_DIRECTORY
18                 containing PIMAGE_TLS_CALLBACKs that have the same
19                 functionality and signature as DllMain. This is also
20                 supported for EXE images. Visual C++ and Microsoft Linker
21                 have support for this but I don't know whether this is
22                 supported GCC.
23                 TLS callbacks should be implemented in the GC that would
24                 enable static linking.
25
26                 References:
27                 http://blog.dkbza.org/2007_03_01_archive.html
28                 http://www.nynaeve.net/?p=183
29
30                 Using a statically linked eglib instead of glib could also
31                 reduce DLL dependency.
32
33         * Document that the following DLLs are required to be deployed
34           along with the bundle. Do we need some legal blub if we
35           incite the user to deploy these binaries?
36
37                 [Mm]ono*.dll
38                 libglib*.dll
39                 libgmodule*.dll
40                 libgthread*.dll
41                 iconv.dll
42                 intl.dll
43                 zlib1.dll