* config.guess (*:MINGW64*:*): New.

* config.sub (mingw64): Likewise.
	* testsuite/config-guess.data: Add a test case.
	* testsuite/config-sub.data: Likewise.

Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
Earnie Boyd 2012-07-31 13:23:38 +10:00 committed by Ben Elliston
parent 7886f29c82
commit f16804b79e
5 changed files with 20 additions and 3 deletions

View File

@ -1,3 +1,11 @@
2012-07-31 Earnie Boyd <earnie@users.sourceforge.net>
Ben Elliston <bje@gnu.org>
* config.guess (*:MINGW64*:*): New.
* config.sub (mingw64): Likewise.
* testsuite/config-guess.data: Add a test case.
* testsuite/config-sub.data: Likewise.
2012-07-30 Ben Elliston <bje@gnu.org>
* testsuite/config-guess.sh: Incorporate uname.in as a heredoc.

5
config.guess vendored
View File

@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011, 2012 Free Software Foundation, Inc.
timestamp='2012-07-29'
timestamp='2012-07-31'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@ -805,6 +805,9 @@ EOF
i*:CYGWIN*:*)
echo ${UNAME_MACHINE}-pc-cygwin
exit ;;
*:MINGW64*:*)
echo ${UNAME_MACHINE}-pc-mingw64
exit ;;
*:MINGW*:*)
echo ${UNAME_MACHINE}-pc-mingw32
exit ;;

8
config.sub vendored
View File

@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011, 2012 Free Software Foundation, Inc.
timestamp='2012-06-17'
timestamp='2012-07-31'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
@ -791,6 +791,10 @@ case $basic_machine in
microblaze)
basic_machine=microblaze-xilinx
;;
mingw64)
basic_machine=x86_64-pc
os=-mingw64
;;
mingw32)
basic_machine=i386-pc
os=-mingw32
@ -1359,7 +1363,7 @@ case $os in
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
| -chorusos* | -chorusrdb* | -cegcc* \
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
| -mingw32* | -linux-gnu* | -linux-android* \
| -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
| -linux-newlib* | -linux-uclibc* \
| -uxpv* | -beos* | -mpeix* | -udk* \
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \

View File

@ -51,6 +51,7 @@ vax 2.6.15 Linux ignored vax-dec-linux-gnu
x86 5.2 Interix ignored i586-pc-interix5.2
x86 6.0 Interix ignored i586-pc-interix6.0
x86_64 1.0 MINGW ignored x86_64-pc-mingw32
x86_64 1.0 MINGW64 ignored x86_64-pc-mingw64
x86_64 2.6.32 Linux ignored x86_64-unknown-linux-gnu
x86_64 2.6.32 VMkernel ignored x86_64-unknown-esx
x86_64 1.5.18(0.132/4/2) CYGWIN_NT-5.2 ignored x86_64-unknown-cygwin

View File

@ -101,6 +101,7 @@ microblaze-elf microblaze-unknown-elf
microblaze-linux microblaze-unknown-linux-gnu
microblaze microblaze-unknown-none
mingw32ce arm-unknown-mingw32ce
mingw64 x86_64-pc-mingw64
mips64octeonel-elf mips64octeonel-unknown-elf
mips64octeon-elf mips64octeon-unknown-elf
mips64octeonel mips64octeonel-unknown-elf