libgcj, Win32 & dll's
Tom Tromey
tromey@cygnus.com
Sat Apr 1 00:00:00 GMT 2000
>>>>> "Alexandre" == Alexandre Oliva <oliva@lsd.ic.unicamp.br> writes:
Alexandre> Then, there's all the dllimport/dllexport mess, that must
Alexandre> be explicitly taken care of in user's code, which is the
Alexandre> reason why libtool requires AC_LIBTOOL_WIN32_DLL in
Alexandre> configure.in to build DLLs.
It seems to me that we could (in theory) modify the Java compile to
automatically do the appropriate dllexport thing (I have no clue what
this attribute actually does) for Java methods. Basically it would
just follow Java visibility rules.
However, it sounds like this isn't sufficient, given that we want to
export objects from the data area (e.g., vtables). Is it really not
possible to do what we want on Windows? That would suck.
Tom
More information about the Java
mailing list