1132718Skan# GCC build-specific configuration file. 2132718Skan# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003 3132718Skan# Free Software Foundation, Inc. 4132718Skan 5132718Skan#This file is part of GCC. 6132718Skan 7132718Skan#GCC is free software; you can redistribute it and/or modify it under 8132718Skan#the terms of the GNU General Public License as published by the Free 9132718Skan#Software Foundation; either version 2, or (at your option) any later 10132718Skan#version. 11132718Skan 12132718Skan#GCC is distributed in the hope that it will be useful, but WITHOUT 13132718Skan#ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14132718Skan#FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 15132718Skan#for more details. 16132718Skan 17132718Skan#You should have received a copy of the GNU General Public License 18132718Skan#along with GCC; see the file COPYING. If not, write to the Free 19169689Skan#Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 20169689Skan#02110-1301, USA. 21132718Skan 22132718Skan# This is the GCC build-specific configuration file 23132718Skan# where a configuration type is mapped to different system-specific 24132718Skan# definitions and files. This is invoked by the autoconf-generated 25132718Skan# configure script. Putting it in a separate shell file lets us skip 26132718Skan# running autoconf when modifying build-specific information. 27132718Skan 28132718Skan# This file switches on the shell variable ${build}. As much of this 29132718Skan# as possible should be replaced with autoconf tests in the future. 30132718Skan 31132718Skan# This file sets the following shell variables for use by the 32132718Skan# autoconf-generated configure script: 33132718Skan# 34132718Skan# build_xm_defines List of macros to define when compiling for the 35132718Skan# build machine. 36132718Skan# 37132718Skan# build_xm_file List of files to include when compiling for the 38132718Skan# build machine. 39132718Skan# 40132718Skan# build_install_headers_dir 41132718Skan# Target to use when installing header files. 42132718Skan# 43132718Skan# build_exeext Set to the suffix, if the build machine requires 44132718Skan# executables to have a file name suffix. 45132718Skan 46132718Skan# Default settings. 47132718Skanbuild_xm_file= 48132718Skanbuild_xm_defines= 49132718Skanbuild_exeext= 50132718Skanbuild_install_headers_dir=install-headers-tar 51132718Skan 52132718Skan# System-specific settings. 53132718Skancase $build in 54132718Skan alpha*-dec-osf4*) 55132718Skan # Some versions of OSF4 (specifically X4.0-9 296.7) have 56132718Skan # a broken tar, so we use cpio instead. 57132718Skan build_install_headers_dir=install-headers-cpio 58132718Skan ;; 59132718Skan alpha*-dec-*vms*) 60132718Skan build_xm_file=alpha/xm-vms.h 61132718Skan build_exeext=.exe 62132718Skan build_install_headers_dir=install-headers-cp 63132718Skan prefix=/gnu 64132718Skan local_prefix=/gnu 65132718Skan ;; 66132718Skan hppa1.0-*-hpux1[01]* | \ 67132718Skan hppa*64*-*-hpux11* | \ 68132718Skan hppa1.1-*-hpux11* | \ 69132718Skan hppa2*-*-hpux11* ) 70132718Skan build_install_headers_dir=install-headers-cpio 71132718Skan ;; 72132718Skan i370-*-opened* | i370-*-mvs* ) 73132718Skan # IBM 360/370/390 Architecture 74132718Skan build_xm_defines='FATAL_EXIT_CODE=12' 75132718Skan ;; 76132718Skan i[34567]86-*-cygwin* | i[34567]86-*-pe ) 77132718Skan build_xm_file=i386/xm-cygwin.h 78132718Skan build_exeext=.exe 79132718Skan ;; 80132718Skan i[34567]86-*-mingw32*) 81132718Skan build_xm_file=i386/xm-mingw32.h 82132718Skan build_exeext=.exe 83132718Skan ;; 84132718Skan i[34567]86-pc-msdosdjgpp*) 85132718Skan build_xm_file=i386/xm-djgpp.h 86132718Skan build_exeext=.exe 87132718Skan ;; 88132718Skan i[34567]86-*-sco3.2v5*) 89132718Skan # 80386 running SCO Open Server 5 90132718Skan build_install_headers_dir=install-headers-cpio 91132718Skan ;; 92132718Skan i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4* ) 93132718Skan build_install_headers_dir=install-headers-cpio 94132718Skan ;; 95132718Skan i[34567]86-*-sysv4*) 96132718Skan # Intel x86 running system V r4 97132718Skan build_install_headers_dir=install-headers-cpio 98132718Skan ;; 99132718Skan i[34567]86-*-udk*) 100132718Skan # Intel x86 on SCO UW/OSR5 Dev Kit 101132718Skan build_install_headers_dir=install-headers-cpio 102132718Skan ;; 103132718Skan i[34567]86-*-uwin*) 104132718Skan build_exeext=.exe 105132718Skan ;; 106132718Skan i386-*-vsta) 107132718Skan # Intel 80386's running VSTa kernel 108132718Skan ;; 109132718Skan m68000-hp-hpux* | m68k-hp-hpux*) 110132718Skan # HP 9000 series 300 111132718Skan build_install_headers_dir=install-headers-cpio 112132718Skan ;; 113132718Skan *-*-sysv*) 114132718Skan # All other System V variants. 115132718Skan build_install_headers_dir=install-headers-cpio 116132718Skan ;; 117132718Skanesac 118132718Skan 119