This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: win32: Why exports of JNI_* symbols from _exe_ files
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Ranjit Mathew <rmathew at hotmail dot com>, <java at gcc dot gnu dot org>
- Date: Tue, 5 Aug 2003 11:48:08 -0400 (EDT)
- Subject: 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