On 24.05.2011 13:30, JarkkoL wrote: > Btw, I'm NOT defining GC_INSIDE_DLL=1 because i'm using static library > because of that GC_DllMain() isn't called, which in turn calls GC_init(). If > I define GC_INSIDE_DLL then GC_thread_is_registered() returns 1 and the > problem goes away. However GC_init() is called by mono_jit_init() anyway, so > is this a bug in GC_thread_is_registered() implementation? I can't be the > first one to try to link Mono statically (:
Mono/Win32 cannot be linked statically because it relies on Boem GC to register threads, but Boem cannot register threads w/out GC_INSIDE_DLL and DllMain. Robert _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
