]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config.build
rs6000: re-enable web and rnreg with -funroll-loops
[thirdparty/gcc.git] / gcc / config.build
CommitLineData
5b28c537 1# GCC build-specific configuration file.
a5544970 2# Copyright (C) 1997-2019 Free Software Foundation, Inc.
5b28c537
NN
3
4#This file is part of GCC.
5
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
9dcd6f09 8#Software Foundation; either version 3, or (at your option) any later
5b28c537
NN
9#version.
10
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
14#for more details.
15
16#You should have received a copy of the GNU General Public License
9dcd6f09
NC
17#along with GCC; see the file COPYING3. If not see
18#<http://www.gnu.org/licenses/>.
5b28c537
NN
19
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.
25
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.
28
29# This file sets the following shell variables for use by the
30# autoconf-generated configure script:
31#
32# build_xm_defines List of macros to define when compiling for the
33# build machine.
34#
35# build_xm_file List of files to include when compiling for the
36# build machine.
37#
38# build_install_headers_dir
39# Target to use when installing header files.
40#
41# build_exeext Set to the suffix, if the build machine requires
42# executables to have a file name suffix.
43
44# Default settings.
45build_xm_file=
46build_xm_defines=
47build_exeext=
48build_install_headers_dir=install-headers-tar
a0e527e3 49build_file_translate=
5b28c537
NN
50
51# System-specific settings.
52case $build in
5b28c537
NN
53 hppa1.0-*-hpux1[01]* | \
54 hppa*64*-*-hpux11* | \
55 hppa1.1-*-hpux11* | \
56 hppa2*-*-hpux11* )
57 build_install_headers_dir=install-headers-cpio
58 ;;
b802ae5c 59 i[34567]86-*-cygwin* | x86_64-*-cygwin* )
5b28c537
NN
60 build_xm_file=i386/xm-cygwin.h
61 build_exeext=.exe
62 ;;
ccf8e764 63 i[34567]86-*-mingw32* | x86_64-*-mingw*)
5b28c537
NN
64 build_xm_file=i386/xm-mingw32.h
65 build_exeext=.exe
703fdf5a
RW
66 t=`(CMD //c echo /c) 2>/dev/null`
67 case $t in ?:*)
68 build_file_translate="CMD //c"
69 ;;
70 esac
5b28c537
NN
71 ;;
72 i[34567]86-pc-msdosdjgpp*)
73 build_xm_file=i386/xm-djgpp.h
74 build_exeext=.exe
75 ;;
5b28c537
NN
76 *-*-sysv*)
77 # All other System V variants.
78 build_install_headers_dir=install-headers-cpio
79 ;;
e2b30a44
TG
80 *-*-*vms*)
81 # All OpenVMS targets.
82 build_xm_file="vms/xm-vms.h"
83 build_exeext=.exe
84 build_install_headers_dir=install-headers-cp
85 ;;
5b28c537
NN
86esac
87