This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libgcj.dll for MingW GCJ 3.4


On Sunday, Aug 10, 2003, at 13:23 Pacific/Auckland, Ranjit Mathew wrote:

Mohan Embar wrote:
I never was able to get libgcj.dll and libswt.a
to play with each other. There are classloading
and/or vtable issues, I think. Haven't investigated
this at all.

Perhaps its a problem with class registration for the classes in the second DLL? ie is _Jv_RegisterClasses getting called?


Perhaps that's because GCJ expects the DLLs/SOs
containing classes to be loaded dynamically
in files named something like "lib-org-eclipse.so"?
(Maybe "org-eclipse.dll" for Win32?)

That's a mechanism for dynamically loading classes (via Class.forName or custom classloaders). Linking against classes in a regular .so/.dll the normal way ought to work as well, regardless of whether the class is used by fixed or dynamic references.


Regards

Bryce.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]