This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
MIPS-Linux Patch for configure.in
- To: binutils at sourceware dot cygnus dot com
- Subject: MIPS-Linux Patch for configure.in
- From: Andreas Jaeger <aj at suse dot de>
- Date: 20 Nov 1999 15:21:15 +0100
- Cc: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
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