Why does config.guess come up with such wacky stuff?

John Hughes john@Calva.COM
Wed Dec 1 03:08:00 GMT 1999


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.



More information about the Gcc mailing list