This is the mail archive of the java-discuss@sourceware.cygnus.com 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]

Re: libgcj, Win32 & dll's


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


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