[Mono-list] Mono static library

JarkkoL jarkko at profoundic.com
Tue May 24 08:30:06 EDT 2011


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 (:

Cheers, Jarkko


--
View this message in context: http://mono.1490590.n4.nabble.com/Mono-static-library-tp3546774p3546938.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list