diff options
author | Mumit Khan <khan@xraylith.wisc.edu> | 1999-01-30 07:07:42 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-01-30 00:07:42 -0700 |
commit | c9ffaa6386dadc42960c619bc8566fb3b0c7c97a (patch) | |
tree | b189e8906241c717e6ce2345f092bca4b7cd14de | |
parent | 60432e68a3baf9ed026124aded9c76ed5b1c1ef3 (diff) | |
download | gcc-c9ffaa6386dadc42960c619bc8566fb3b0c7c97a.zip gcc-c9ffaa6386dadc42960c619bc8566fb3b0c7c97a.tar.gz gcc-c9ffaa6386dadc42960c619bc8566fb3b0c7c97a.tar.bz2 |
config.guess: Add support for i386-pc-interix.
* config.guess: Add support for i386-pc-interix.
* config.sub: Likewise.
* configure.in: Likewise.
* config/mh-interix: New file.
From-SVN: r24913
-rw-r--r-- | ChangeLog | 7 | ||||
-rwxr-xr-x | config.guess | 9 | ||||
-rwxr-xr-x | config.sub | 5 | ||||
-rw-r--r-- | config/mh-interix | 14 | ||||
-rw-r--r-- | configure.in | 5 |
5 files changed, 36 insertions, 4 deletions
@@ -1,3 +1,10 @@ +Sat Jan 30 08:04:00 1999 Mumit Khan <khan@xraylith.wisc.edu> + + * config.guess: Add support for i386-pc-interix. + * config.sub: Likewise. + * configure.in: Likewise. + * config/mh-interix: New file. + Wed Dec 23 00:20:50 1998 Jeffrey A Law (law@cygnus.com) * config.sub: Clean up handling of hppa2.0. diff --git a/config.guess b/config.guess index ff701fe..28c45c8 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 ;; @@ -1,6 +1,6 @@ #! /bin/sh # Configuration validation subroutine script, version 1.1. -# Copyright (C) 1991, 92-97, 1998 Free Software Foundation, Inc. +# Copyright (C) 1991, 92-97, 1998, 1999 Free Software Foundation, Inc. # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. @@ -932,7 +932,8 @@ case $os in | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -cygwin32* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk*) + | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* ) # Remember, each alternative MUST END IN *, to match a version number. ;; # CYGNUS LOCAL diff --git a/config/mh-interix b/config/mh-interix new file mode 100644 index 0000000..19b8ecf --- /dev/null +++ b/config/mh-interix @@ -0,0 +1,14 @@ +# The shell may not be in /bin. +SHELL = sh +RANLIB = true + +# We don't want debugging info in Interix-hosted toolchains. +# Accomplish this by overriding CFLAGS. This is also a workaround +# for LD crash when building shared libstdc++. +CFLAGS=-O2 +CXXFLAGS=-O2 + +# We also need to override LIBGCC2_DEBUG_CFLAGS so libgcc2 will be +# built without debugging information + +LIBGCC2_DEBUG_CFLAGS= diff --git a/configure.in b/configure.in index 66e0417..0c09f4f 100644 --- a/configure.in +++ b/configure.in @@ -14,7 +14,7 @@ ## For more information on these two systems, check out the documentation ## for 'Autoconf' (autoconf.texi) and 'Configure' (configure.texi). -# 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 @@ -200,6 +200,9 @@ case "${host}" in *-mingw32*) host_makefile_frag="${host_makefile_frag} config/mh-mingw32" ;; + *-interix*) + host_makefile_frag="${host_makefile_frag} config/mh-interix" + ;; *-windows*) host_makefile_frag="${host_makefile_frag} config/mh-windows" ;; |