This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patch: set i686 default for Darwin/x86


Darwin/x86 doesn't really support anything older than an i686. Darwin/PPC default unchanged.

O.K. to commit?

stuart hastings
Apple Computer

2003-01-06 Stuart Hastings <stuart@apple.com>

* config.guess Set i686 default for Darwin/x86.

Index: gcc.pure/config.guess
===================================================================
RCS file: /cvs/gcc/gcc/config.guess,v
retrieving revision 1.56
diff -c -d -c -3 -p -r1.56 config.guess
*** gcc.pure/config.guess 24 Dec 2002 23:53:51 -0000 1.56
--- gcc.pure/config.guess 6 Jan 2003 18:23:50 -0000
*************** EOF
*** 1149,1155 ****
echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
exit 0 ;;
*:Darwin:*:*)
! echo `uname -p`-apple-darwin${UNAME_RELEASE}
exit 0 ;;
*:procnto*:*:* | *:QNX:[0123456789]*:*)
UNAME_PROCESSOR=`uname -p`
--- 1149,1159 ----
echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
exit 0 ;;
*:Darwin:*:*)
! case `uname -p` in
! *86) UNAME_PROCESSOR=i686 ;;
! powerpc) UNAME_PROCESSOR=powerpc ;;
! esac
! echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
exit 0 ;;
*:procnto*:*:* | *:QNX:[0123456789]*:*)
UNAME_PROCESSOR=`uname -p`


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]