This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
config.guess for ev68 [Was: Re: glibc-2.2.4pre2 success on alpha]
- To: "Ken Whaley" <ken at believe dot com>
- Subject: config.guess for ev68 [Was: Re: glibc-2.2.4pre2 success on alpha]
- From: Andreas Jaeger <aj at suse dot de>
- Date: Thu, 09 Aug 2001 08:48:09 +0200
- Cc: <libc-alpha at sources dot redhat dot com>, config-patches at gnu dot org
- References: <NDBBKBAPHBIINMMNGLHEGEGODDAA.ken@believe.com>
"Ken Whaley" <ken@believe.com> writes:
> The cpu detect doesn't work for ev68, which has a different
> amask value (0x1307) from the ev67 (0x307), so
> scripts/config.guess returns plain alpha-unknown-linux-gnu.
> I'd imagine that it would be better to default an ev68 to
> host type alphaev67 until/whenever alphaev68 support is added.
Please first send your patch to the config maintainers (CC'ed). If
they approve it, we'll import the new config.guess version in glibc.
Andreas
> Here's a patch to do that:
>
> --- scripts/config.guess.orig Wed Aug 8 15:09:39 2001
> +++ scripts/config.guess Wed Aug 8 15:10:09 2001
> @@ -225,6 +225,9 @@
> 2-307)
> UNAME_MACHINE="alphaev67"
> ;;
> + 2-1307)
> + UNAME_MACHINE="alphaev67" # really ev68
> + ;;
> esac
> fi
> rm -f $dummy.s $dummy
> @@ -846,6 +849,7 @@
> 1-101) UNAME_MACHINE="alphapca56" ;;
> 2-303) UNAME_MACHINE="alphaev6" ;;
> 2-307) UNAME_MACHINE="alphaev67" ;;
> + 2-1307) UNAME_MACHINE="alphaev67" ;; # really ev68
> esac
> objdump --private-headers $dummy | \
> grep ld.so.1 > /dev/null
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj