summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-01-30 07:07:42 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-01-30 07:07:42 +0000
commit183a8abbe9e63f3a30451e69e11072e31fcd2fdc (patch)
treeb189e8906241c717e6ce2345f092bca4b7cd14de /config.guess
parent13d29a8f4657f237270318512cd1e372befab44e (diff)
downloadgcc-183a8abbe9e63f3a30451e69e11072e31fcd2fdc.tar.gz
* config.guess: Add support for i386-pc-interix.
* config.sub: Likewise. * configure.in: Likewise. * config/mh-interix: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24913 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess9
1 files changed, 8 insertions, 1 deletions
diff --git a/config.guess b/config.guess
index ff701fea9a9..28c45c8901f 100755
--- a/config.guess
+++ b/config.guess
@@ -1,6 +1,6 @@
#! /bin/sh
# Attempt to guess a canonical system name.
-# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc.
+# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998, 1999 Free Software Foundation, Inc.
#
# 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
@@ -529,6 +529,13 @@ EOF
i*:MINGW*:*)
echo ${UNAME_MACHINE}-pc-mingw32
exit 0 ;;
+ i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
+ # How do we know it's Interix rather than generic posix subsystem?
+ # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
+ # change UNAME_MACHINE based on the output of uname instead of
+ # i386?
+ echo i386-pc-interix
+ exit 0 ;;
p*:CYGWIN*:*)
echo powerpcle-unknown-cygwin32
exit 0 ;;