This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Fix configure.in for MIPS/Linux
- To: binutils at sourceware dot cygnus dot com
- Subject: Fix configure.in for MIPS/Linux
- From: Andreas Jaeger <aj at suse dot de>
- Date: 26 Jan 2000 13:18:23 +0100
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.
I'm appending a patch against the current CVS version.
Could somebody please apply the patch?
Thanks,
Andreas
2000-01-26 Andreas Jaeger <aj@suse.de>
* configure.in: Add entry for mips*-*-linux*, move catch all
-*-*linux* entry below this one.
Index: configure.in
===================================================================
RCS file: /cvs/binutils/binutils/configure.in,v
retrieving revision 1.6
diff -u -r1.6 configure.in
--- configure.in 2000/01/12 18:56:45 1.6
+++ configure.in 2000/01/26 12:17:50
@@ -666,10 +666,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"
@@ -795,6 +791,11 @@
# emacs is emacs 18, which does not work on Irix 5 (emacs19 does work)
noconfigdirs="$noconfigdirs 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"
;;
@@ -859,6 +860,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