libgcj.dll for MingW GCJ 3.4

Bryce McKinlay bryce@mckinlay.net.nz
Sun Aug 10 02:21:00 GMT 2003


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.



More information about the Java mailing list