[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#62288: endianes problem on mips



Package: apt
Version: 0.3.18

configure does not detect the endianes of mips as big endian.
Suggestion: attached patch adds mips support to the sizetable, archtable
and config.guess
Regards,
 -- Guido

-- 

PGP-Public Key: http://honk.physik.uni-konstanz.de/~guido/gunther.asc
GPG-Public Key: http://honk.physik.uni-konstanz.de/~agx/guenther.gpg.asc
--- apt-0.3.18/buildlib/archtable.orig	Mon Apr  3 20:09:24 2000
+++ apt-0.3.18/buildlib/archtable	Mon Apr  3 20:09:39 2000
@@ -28,5 +28,6 @@
 armv4l  arm     arm
 powerpc	powerpc	powerpc
 ppc	powerpc	powerpc
+mips	mips	mips
 mipsel  mipsel  mipsel
 hppa1.1 hppa    hppa
--- apt-0.3.18/buildlib/sizetable.orig	Thu Apr 13 07:41:54 2000
+++ apt-0.3.18/buildlib/sizetable	Wed Apr 12 16:41:34 2000
@@ -15,5 +15,6 @@
 sparc:  big     1 4 2 4
 m68k:   big     1 4 2 4
 powerpc: big    1 4 2 4
+mips: big	1 4 2 4
 mipsel: little  1 4 2 4
 hppa:   big     1 4 2 4
--- apt-0.3.18/buildlib/config.guess.orig	Thu Apr 13 08:00:29 2000
+++ apt-0.3.18/buildlib/config.guess	Thu Apr 13 07:58:59 2000
@@ -418,6 +418,8 @@
 	  echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0
 	elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf32ppc"; then
 	  echo "powerpc-unknown-linux-gnu" ; exit 0
+	elif test "${UNAME_MACHINE}" = "mips";  then
+	  echo mips-unknown-linux-gnu ; exit 0
 	elif test "${UNAME_MACHINE}" = "alpha" ; then
 	  echo alpha-unknown-linux-gnu ; exit 0
 	elif test "${UNAME_MACHINE}" = "sparc" ; then

Reply to: