This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libobjc/39465] libobjc does not find classes of DLLs
- From: "js-gcc at webkeks dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Dec 2009 00:31:27 -0000
- Subject: [Bug libobjc/39465] libobjc does not find classes of DLLs
- References: <bug-39465-17449@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from js-gcc at webkeks dot org 2009-12-20 00:31 -------
After looking some more at the code, I might have an idea what's causing the
issue:
__objc_gnu_init calls __objc_exec_class on _OBJC_MODULES. Is it possible that
this call is not made for some reason if you link your lib as a dll? That would
mean the classes are never loaded into the runtime.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39465