1 # GCC build-specific configuration file.
2 # Copyright (C) 1997-2013 Free Software Foundation, Inc.
4 #This file is part of GCC.
6 #GCC is free software; you can redistribute it and/or modify it under
7 #the terms of the GNU General Public License as published by the Free
8 #Software Foundation; either version 3, or (at your option) any later
11 #GCC is distributed in the hope that it will be useful, but WITHOUT
12 #ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 #FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 #You should have received a copy of the GNU General Public License
17 #along with GCC; see the file COPYING3. If not see
18 #<http://www.gnu.org/licenses/>.
20 # This is the GCC build-specific configuration file
21 # where a configuration type is mapped to different system-specific
22 # definitions and files. This is invoked by the autoconf-generated
23 # configure script. Putting it in a separate shell file lets us skip
24 # running autoconf when modifying build-specific information.
26 # This file switches on the shell variable ${build}. As much of this
27 # as possible should be replaced with autoconf tests in the future.
29 # This file sets the following shell variables for use by the
30 # autoconf-generated configure script:
32 # build_xm_defines List of macros to define when compiling for the
35 # build_xm_file List of files to include when compiling for the
38 # build_install_headers_dir
39 # Target to use when installing header files.
41 # build_exeext Set to the suffix, if the build machine requires
42 # executables to have a file name suffix.
48 build_install_headers_dir=install-headers-tar
51 # System-specific settings.
53 hppa1.0-*-hpux1[01]* | \
54 hppa*64*-*-hpux11* | \
57 build_install_headers_dir=install-headers-cpio
59 i370-*-opened* | i370-*-mvs* )
60 # IBM 360/370/390 Architecture
61 build_xm_defines='FATAL_EXIT_CODE=12'
63 i[34567]86-*-cygwin* )
64 build_xm_file=i386/xm-cygwin.h
67 i[34567]86-*-mingw32* | x86_64-*-mingw*)
68 build_xm_file=i386/xm-mingw32.h
70 t=`(CMD //c echo /c) 2>/dev/null`
72 build_file_translate="CMD //c"
76 i[34567]86-pc-msdosdjgpp*)
77 build_xm_file=i386/xm-djgpp.h
80 i[34567]86-*-sco3.2v5*)
81 # 80386 running SCO Open Server 5
82 build_install_headers_dir=install-headers-cpio
84 i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4* )
85 build_install_headers_dir=install-headers-cpio
88 # Intel x86 running system V r4
89 build_install_headers_dir=install-headers-cpio
92 # Intel x86 on SCO UW/OSR5 Dev Kit
93 build_install_headers_dir=install-headers-cpio
99 # Intel 80386's running VSTa kernel
101 m68000-hp-hpux* | m68k-hp-hpux*)
103 build_install_headers_dir=install-headers-cpio
106 # All other System V variants.
107 build_install_headers_dir=install-headers-cpio
110 # All OpenVMS targets.
111 build_xm_file="vms/xm-vms.h"
113 build_install_headers_dir=install-headers-cp