diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-01-30 07:07:42 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-01-30 07:07:42 +0000 |
commit | 183a8abbe9e63f3a30451e69e11072e31fcd2fdc (patch) | |
tree | b189e8906241c717e6ce2345f092bca4b7cd14de | |
parent | 13d29a8f4657f237270318512cd1e372befab44e (diff) | |
download | ppe42-gcc-183a8abbe9e63f3a30451e69e11072e31fcd2fdc.tar.gz ppe42-gcc-183a8abbe9e63f3a30451e69e11072e31fcd2fdc.zip |
* 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
-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
diff --git a/ChangeLog b/ChangeLog index b1102b771f5..48560ba1e46 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 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 ;; diff --git a/config.sub b/config.sub index 34fb3faa054..3be49c79397 100755 --- a/config.sub +++ b/config.sub @@ -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 00000000000..19b8ecfd339 --- /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 66e0417c6fd..0c09f4f2c2b 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" ;; |