This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Why does config.guess come up with such wacky stuff?
- To: <oliva at lsd dot ic dot unicamp dot br>, <law at cygnus dot com>
- Subject: RE: Why does config.guess come up with such wacky stuff?
- From: "John Hughes" <john at Calva dot COM>
- Date: Wed, 1 Dec 1999 12:08:12 +0100
- Cc: "'Robert Lipe'" <robertlipe at usa dot net>, "'Joe Buck'" <jbuck at synopsys dot COM>, <gcc at gcc dot gnu dot org>
Alexandre Oliva <oliva@lsd.ic.unicamp.br> writes:
> Yup, I can (kind-of) confirm that, with a quick overview of the diffs
> between gcc CVS and autoconf CVS. Is this ok to install?
It's a pity that the autoconf version looses the CPU type information for
UnixWare 7, just forcing everything to i586:
i?86:*:5:7*)
- UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
- (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
- (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) &&
UNAME_MACHINE=i5
86
- (/bin/uname -X|egrep '^Machine.*Pent.*II' >/dev/null) &&
UNAME_MACHINE=i
686
- (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) &&
UNAME_MACHIN
E=i585
- echo
${UNAME_MACHINE}-${UNAME_SYSTEM}${UNAME_VERSION}-sysv${UNAME_RELEAS
E}
+ # Fixed at (any) Pentium or better
+ UNAME_MACHINE=i586
+ if [ ${UNAME_SYSTEM} = "UnixWare" ] ; then
+ echo ${UNAME_MACHINE}-sco-sysv${UNAME_RELEASE}uw${UNAME_VERSION}
+ else
+ echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
+ fi
exit 0 ;;
--
John Hughes <john@Calva.COM>,
CalvaEDI SA. Tel: +33-1-4313-3131
66 rue du Moulin de la Pointe, Fax: +33-1-4313-3139
75013 PARIS.