This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Java DLLs
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Frank Jacobs <forkjake at yahoo dot com>
- Cc: java at gcc dot gnu dot org
- Date: Wed, 29 May 2002 15:46:40 -0400 (EDT)
- Subject: Re: Java DLLs
On Wed, 29 May 2002, 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