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: 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


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