win32: Why exports of JNI_* symbols from _exe_ files

Jeff Sturm jsturm@one-point.com
Tue Aug 5 15:48:00 GMT 2003


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /