On 00:06 Sat 11 Oct     , Daniel Jacobowitz wrote:
> > If this is ok, I will post a little patch.
> 
> That sounds fine, but the whole process is trouble.

Would you explain why it is trouble? Thanks!

The patch is included.

Zhang Le
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 5fc628b..a9ff11f 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-12  Zhang Le  <[EMAIL PROTECTED]>
+
+       * Makefile.in: get version from gcc/BASE-VER
+
 2008-09-03  Hari Sandanagobalane  <[EMAIL PROTECTED]>
 
        Add picoChip port.
diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in
index 5718a50..eec5496 100644
--- a/libgcc/Makefile.in
+++ b/libgcc/Makefile.in
@@ -184,7 +184,7 @@ export RANLIB_FOR_TARGET
 export libsubdir
 export slibdir
 
-version := $(shell $(CC) -dumpversion)
+version := $(shell cat $(srcdir)/../gcc/BASE-VER)
 
 ifeq ($(decimal_float),yes)
 ifeq ($(enable_decimal_float),bid)

Reply via email to