Java DLLs
Jeff Sturm
jsturm@one-point.com
Wed May 29 12:46:00 GMT 2002
On 2002年5月29日, Frank Jacobs wrote:
> Has anyone tried to create Windows DLLs with GCJ?
I haven't. I'm not sure it makes sense to try, unless you also have a
libgcj.dll. Otherwise you'll be linking all of the runtime into both your
.exe and .dll images; definitely that wouldn't be good.
Has anyone built a shared libgcj on win32? I think the main obstacle is
telling gcj to dllexport its classes somehow (certainly not at the source
level, maybe as a compiler flag).
> I've been spending some time lately trying to figure
> out the proper dllwrap command-line parameters, but
> haven't been successful yet. Before spending more
> time, just wanted to check if anyone has had success
> with this.
Dllwrap is obsolete; "gcc -shared" should do the right thing with a
not-too-old binutils.
Jeff
More information about the Java
mailing list