This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


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

MIPS-Linux Patch for configure.in



Let me first ask if this is the right place to submit the patch.  The
top-level configure.in file is shared between a few packages,
e.g. gcc, binutils and gdb.  Is binutils the master source?  How will
it get distributed to the other packages?

gprof shouldn't be build for MIPS since gprof is not supported - but
gprof is nevertheless build.  The problem is a catch all rule for
linux which comes before the general mips catch all rule.  I'm
appending a patch that "merges" the general linux and mips rules
making a mips-linux specific entry.  To put this patch into effect, I
had to move the linux catch all entry further down.

Andreas

1999-11-20  Andreas Jaeger  <aj@suse.de>

	* configure.in: Add entry for mips*-*-linux*, move catch all
	-*-*linux* entry below this one.

--- configure.in.~1~	Mon Oct  4 07:54:02 1999
+++ configure.in	Sat Nov 20 15:19:10 1999
@@ -639,10 +639,6 @@
     # but don't build gdb
     noconfigdirs="$noconfigdirs gdb target-libg++ target-libstdc++ target-libio target-librx"
     ;;
-  *-*-linux*)
-    # linux has rx in libc
-    skipdirs="$skipdirs target-librx"
-    ;;
   i[3456]86-*-mingw32*)
     target_configdirs="$target_configdirs target-mingw"
     noconfigdirs="$noconfigdirs expect target-libgloss"
@@ -753,6 +749,11 @@
     # emacs is emacs 18, which does not work on Irix 5 (emacs19 does work)
     noconfigdirs="$noconfigdirs ld gas gprof emacs target-libgloss"
     ;;
+  mips*-*-linux*)
+    noconfigdirs="$noconfigdirs gprof"
+    # linux has rx in libc
+    skipdirs="$skipdirs target-librx"
+    ;;
   mips*-dec-bsd*)
     noconfigdirs="$noconfigdirs gprof target-libgloss"
     ;;
@@ -811,6 +812,10 @@
     ;;
   vax-*-*)
     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  *-*-linux*)
+    # linux has rx in libc
+    skipdirs="$skipdirs target-librx"
     ;;
   *-*-lynxos*)
     # Newlib makes problems for libg++ in crosses.

-- 
 Andreas Jaeger   
  SuSE Labs aj@suse.de	
   private aj@arthur.rhein-neckar.de

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