mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-25 23:41:28 +08:00
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
This commit is contained in:
parent
60432e68a3
commit
c9ffaa6386
@ -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.
|
||||
|
9
config.guess
vendored
9
config.guess
vendored
@ -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 ;;
|
||||
|
5
config.sub
vendored
5
config.sub
vendored
@ -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
|
||||
|
14
config/mh-interix
Normal file
14
config/mh-interix
Normal file
@ -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=
|
@ -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"
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user