This is the mail archive of the mailing list for the glibc project.

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

Re: glibc MIPS patch to check for binutils version...

"Steven J. Hill" <> writes:

> Greetings.
> Please find attached a patch to GLIBC that is compatible with
> the new version of binutils (HJLu's and CVS at least). I have
> also added some cruft in '' that will produce
> warning messages if a user attempt to use old binutils. Comments
> are welcome. I have gone out on a limb and also included a
> Changelog entry in case this patch actually gets accepted :).
> This patch will apply against the CVS version of GLIBC. Please
> regenerate 'configure'. Thanks.
> -Steve
> ***** Changelog entry *****
>         * sysdeps/mips/ removed unneeded binary
>         output format directive


>         * added in checking for obsolete binutils
>         for MIPS targets which produces a warning message if
>         user attempts to use older tools.
> ***************************

Let's do this differently.  I'm appending a patch that does it more
the "glibc way".  I've committed everything to CVS including a patch
for the FAQ.  I hope I got the version numbers right.


2001-05-11  Andreas Jaeger  <>

	* sysdeps/unix/sysv/linux/ Check binutils version on

Index: sysdeps/unix/sysv/linux/
--- sysdeps/unix/sysv/linux/	2001/03/16 07:35:59	1.37
+++ sysdeps/unix/sysv/linux/	2001/05/11 12:58:25
@@ -191,3 +191,14 @@
+case "$machine" in
+  mips*)
+	AC_CHECK_PROG_VER(AS, $AS, --version,
+	  [GNU assembler.* \([0-9]*\.[0-9.]*\(-ia64-[0-9]*\)*\)],
+	  [[5-9]* | 2.11.90.[1-9]* | 2.11.9[1-9]* | 2.11.[1-9]* | 2.1[2-9]*| 2.[2-9]*], 
+	AC_MSG_WARN([*** Your binutils versions are too old.  
+*** We strongly advise to update binutils.  For details check 
+*** the FAQ and INSTALL documents.]))
+	;;
 Andreas Jaeger
  SuSE Labs

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