[PATCH, take 2] Build java as two separate DLLs on windows.

Andrew Haley aph@redhat.com
Fri Sep 18 08:58:00 GMT 2009


Dave Korn wrote:
> Andrew Haley wrote:
>> Dave Korn wrote:
>>> Andrew Haley wrote:
>>>> Dave Korn wrote:
>>>>
>>>>>   Here's the final version of my libjava-as-dlls patch.  
> 
>> I also wanted to let the other gcj maintainers know that I am interested in
>> this patch and will try to review it.
> 
>   Minor ping, then?  If it makes it any easier to review, I've committed it
> onto a branch in the SVN repo:
> 
> svn+ssh://$USERNAME@gcc.gnu.org/svn/gcc/branches/cygwin-improvements

I was hoping that we'd get a portable solution.  Oh well, maybe it can't
be done.

I hate this:

Index: cygwin.h
===================================================================
--- cygwin.h    (revision 151777)
+++ cygwin.h    (revision 151778)
@@ -267,3 +267,7 @@
 #define LIBGCC_EH_EXTN "-sjlj"
 #endif
 #define LIBGCC_SONAME "cyggcc_s" LIBGCC_EH_EXTN "-1.dll"
+
+/* We should find a way to not have to update this manually.  */
+#define LIBGCJ_SONAME "cyggcj" /*LIBGCC_EH_EXTN*/ "-11.dll"

Not your fault, I know: all this messing about is to make the class
registration data a bit smaller and the registration process faster.
So it goes.

The patch is OK to go in.

Andrew.



More information about the Java-patches mailing list