This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH,committed] Update libgcj soname in libgcc for newest libtool versioning.


    Hi list,

  Yes, I know I should figure out an automated way to do this, but until then,
here's a manual update: libtool on windows now generates {lib,cyg}gcj-12.dll,
and libgcc has to know the exact name (as you can't open a DLL through a link
on windows like you can dlopen a .so through one on Linux.)


gcc/ChangeLog:

	* config/i386/cygwin.h (LIBGCJ_SONAME): Update.
	* config/i386/mingw32.h (LIBGCJ_SONAME): Likewise.

  Bubblestrapped and ran far enough through the tests to see that everything
is passing again, instead of failing (as it does without this obvious
correction).  Committed revision 162200.

    cheers,
      DaveK

Index: gcc/config/i386/cygwin.h
===================================================================
--- gcc/config/i386/cygwin.h	(revision 162199)
+++ gcc/config/i386/cygwin.h	(working copy)
@@ -301,5 +301,5 @@ while (0)
 #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"
+#define LIBGCJ_SONAME "cyggcj" /*LIBGCC_EH_EXTN*/ "-12.dll"
 
Index: gcc/config/i386/mingw32.h
===================================================================
--- gcc/config/i386/mingw32.h	(revision 162199)
+++ gcc/config/i386/mingw32.h	(working copy)
@@ -245,5 +245,5 @@ __enable_execute_stack (void *addr)					\
 #define LIBGCC_SONAME "libgcc_s" LIBGCC_EH_EXTN "-1.dll"
 
 /* We should find a way to not have to update this manually.  */
-#define LIBGCJ_SONAME "libgcj" /*LIBGCC_EH_EXTN*/ "-11.dll"
+#define LIBGCJ_SONAME "libgcj" /*LIBGCC_EH_EXTN*/ "-12.dll"
 

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