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: win32: Why exports of JNI_* symbols from _exe_ files


On 5 Aug 2003, Tom Tromey wrote:
> Do we ever build libgcj as a DLL?  I thought Anthony had made that
> work once, but that the code wasn't in cvs.

The libgcj build never produces a DLL on its own, but that doesn't stop
someone from creating one, e.g.:

gcj -mdll *.o -o mydll.dll

that could be used via JNI invocation.

At first I had thought always dllexport-ing everything would be harmless
and useful.  Danny's suggestion (creating a .def file when needed) is a
better idea.

Jeff


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