config.build revision 132718
118334Speter# GCC build-specific configuration file. 218334Speter# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003 390280Sobrien# Free Software Foundation, Inc. 4169699Skan 518334Speter#This file is part of GCC. 690280Sobrien 718334Speter#GCC is free software; you can redistribute it and/or modify it under 890280Sobrien#the terms of the GNU General Public License as published by the Free 990280Sobrien#Software Foundation; either version 2, or (at your option) any later 1090280Sobrien#version. 1190280Sobrien 1218334Speter#GCC is distributed in the hope that it will be useful, but WITHOUT 1390280Sobrien#ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1490280Sobrien#FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1590280Sobrien#for more details. 1690280Sobrien 1790280Sobrien#You should have received a copy of the GNU General Public License 1890280Sobrien#along with GCC; see the file COPYING. If not, write to the Free 1990280Sobrien#Software Foundation, 59 Temple Place - Suite 330, Boston, MA 2090280Sobrien#02111-1307, USA. 2118334Speter 2290280Sobrien# This is the GCC build-specific configuration file 2390280Sobrien# where a configuration type is mapped to different system-specific 2490280Sobrien# definitions and files. This is invoked by the autoconf-generated 2590280Sobrien# configure script. Putting it in a separate shell file lets us skip 2690280Sobrien# running autoconf when modifying build-specific information. 2718334Speter 2890280Sobrien# This file switches on the shell variable ${build}. As much of this 29169699Skan# as possible should be replaced with autoconf tests in the future. 30169699Skan 3118334Speter# This file sets the following shell variables for use by the 3218334Speter# autoconf-generated configure script: 3390280Sobrien# 34132727Skan# build_xm_defines List of macros to define when compiling for the 35132727Skan# build machine. 3650600Sobrien# 37132727Skan# build_xm_file List of files to include when compiling for the 38132727Skan# build machine. 39132727Skan# 40132727Skan# build_install_headers_dir 41132727Skan# Target to use when installing header files. 42132727Skan# 43169699Skan# build_exeext Set to the suffix, if the build machine requires 44169699Skan# executables to have a file name suffix. 45169699Skan 46169699Skan# Default settings. 47169699Skanbuild_xm_file= 48169699Skanbuild_xm_defines= 49169699Skanbuild_exeext= 50169699Skanbuild_install_headers_dir=install-headers-tar 51169699Skan 52169699Skan# System-specific settings. 53169699Skancase $build in 54169699Skan alpha*-dec-osf4*) 55169699Skan # Some versions of OSF4 (specifically X4.0-9 296.7) have 56169699Skan # a broken tar, so we use cpio instead. 57169699Skan build_install_headers_dir=install-headers-cpio 58169699Skan ;; 59169699Skan alpha*-dec-*vms*) 60169699Skan build_xm_file=alpha/xm-vms.h 61169699Skan build_exeext=.exe 62169699Skan build_install_headers_dir=install-headers-cp 63169699Skan prefix=/gnu 64169699Skan local_prefix=/gnu 6590280Sobrien ;; 6690280Sobrien hppa1.0-*-hpux1[01]* | \ 67117404Skan hppa*64*-*-hpux11* | \ 68117404Skan hppa1.1-*-hpux11* | \ 6918334Speter hppa2*-*-hpux11* ) 70117404Skan build_install_headers_dir=install-headers-cpio 71117404Skan ;; 7290280Sobrien i370-*-opened* | i370-*-mvs* ) 7390280Sobrien # IBM 360/370/390 Architecture 7490280Sobrien build_xm_defines='FATAL_EXIT_CODE=12' 75132727Skan ;; 76132727Skan i[34567]86-*-cygwin* | i[34567]86-*-pe ) 77132727Skan build_xm_file=i386/xm-cygwin.h 7818334Speter build_exeext=.exe 7990280Sobrien ;; 8090280Sobrien i[34567]86-*-mingw32*) 8150600Sobrien build_xm_file=i386/xm-mingw32.h 8250600Sobrien build_exeext=.exe 8390280Sobrien ;; 8490280Sobrien i[34567]86-pc-msdosdjgpp*) 85146906Skan build_xm_file=i386/xm-djgpp.h 8690280Sobrien build_exeext=.exe 87132727Skan ;; 8818334Speter i[34567]86-*-sco3.2v5*) 8990280Sobrien # 80386 running SCO Open Server 5 9090280Sobrien build_install_headers_dir=install-headers-cpio 9190280Sobrien ;; 9290280Sobrien i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4* ) 9390280Sobrien build_xm_defines="SMALL_ARG_MAX" 94146906Skan build_install_headers_dir=install-headers-cpio 95146906Skan ;; 96146906Skan i[34567]86-*-solaris2*) 97146906Skan build_xm_defines="SMALL_ARG_MAX" 98146906Skan ;; 99146906Skan i[34567]86-*-sysv4*) 100146906Skan # Intel x86 running system V r4 101146906Skan build_xm_defines="SMALL_ARG_MAX" 102146906Skan build_install_headers_dir=install-headers-cpio 103146906Skan ;; 104146906Skan i[34567]86-*-udk*) 105146906Skan # Intel x86 on SCO UW/OSR5 Dev Kit 10618334Speter build_install_headers_dir=install-headers-cpio 10790280Sobrien ;; 10890280Sobrien i[34567]86-*-uwin*) 10990280Sobrien build_exeext=.exe 110146906Skan ;; 11190280Sobrien i386-*-vsta) 112132727Skan # Intel 80386's running VSTa kernel 11318334Speter ;; 11490280Sobrien m68000-hp-hpux* | m68k-hp-hpux*) 11590280Sobrien # HP 9000 series 300 11690280Sobrien build_install_headers_dir=install-headers-cpio 11790280Sobrien ;; 11890280Sobrien *-*-sysv*) 11952561Sobrien # All other System V variants. 12090280Sobrien build_install_headers_dir=install-headers-cpio 12190280Sobrien ;; 12290280Sobrienesac 123146906Skan 12490280Sobrien