]>
Commit | Line | Data |
---|---|---|
5b28c537 NN |
1 | # GCC build-specific configuration file. |
2 | # Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003 | |
3 | # Free Software Foundation, Inc. | |
4 | ||
5 | #This file is part of GCC. | |
6 | ||
7 | #GCC is free software; you can redistribute it and/or modify it under | |
8 | #the terms of the GNU General Public License as published by the Free | |
9 | #Software Foundation; either version 2, or (at your option) any later | |
10 | #version. | |
11 | ||
12 | #GCC is distributed in the hope that it will be useful, but WITHOUT | |
13 | #ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
14 | #FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
15 | #for more details. | |
16 | ||
17 | #You should have received a copy of the GNU General Public License | |
18 | #along with GCC; see the file COPYING. If not, write to the Free | |
19 | #Software Foundation, 59 Temple Place - Suite 330, Boston, MA | |
20 | #02111-1307, USA. | |
21 | ||
22 | # This is the GCC build-specific configuration file | |
23 | # where a configuration type is mapped to different system-specific | |
24 | # definitions and files. This is invoked by the autoconf-generated | |
25 | # configure script. Putting it in a separate shell file lets us skip | |
26 | # running autoconf when modifying build-specific information. | |
27 | ||
28 | # This file switches on the shell variable ${build}. As much of this | |
29 | # as possible should be replaced with autoconf tests in the future. | |
30 | ||
31 | # This file sets the following shell variables for use by the | |
32 | # autoconf-generated configure script: | |
33 | # | |
34 | # build_xm_defines List of macros to define when compiling for the | |
35 | # build machine. | |
36 | # | |
37 | # build_xm_file List of files to include when compiling for the | |
38 | # build machine. | |
39 | # | |
40 | # build_install_headers_dir | |
41 | # Target to use when installing header files. | |
42 | # | |
43 | # build_exeext Set to the suffix, if the build machine requires | |
44 | # executables to have a file name suffix. | |
45 | ||
46 | # Default settings. | |
47 | build_xm_file= | |
48 | build_xm_defines= | |
49 | build_exeext= | |
50 | build_install_headers_dir=install-headers-tar | |
51 | ||
52 | # System-specific settings. | |
53 | case $build in | |
54 | alpha*-dec-osf4*) | |
55 | # Some versions of OSF4 (specifically X4.0-9 296.7) have | |
56 | # a broken tar, so we use cpio instead. | |
57 | build_install_headers_dir=install-headers-cpio | |
58 | ;; | |
59 | alpha*-dec-*vms*) | |
60 | build_xm_file=alpha/xm-vms.h | |
61 | build_exeext=.exe | |
62 | build_install_headers_dir=install-headers-cp | |
63 | prefix=/gnu | |
64 | local_prefix=/gnu | |
65 | ;; | |
66 | hppa1.0-*-hpux1[01]* | \ | |
67 | hppa*64*-*-hpux11* | \ | |
68 | hppa1.1-*-hpux11* | \ | |
69 | hppa2*-*-hpux11* ) | |
70 | build_install_headers_dir=install-headers-cpio | |
71 | ;; | |
72 | i370-*-opened* | i370-*-mvs* ) | |
73 | # IBM 360/370/390 Architecture | |
74 | build_xm_defines='FATAL_EXIT_CODE=12' | |
75 | ;; | |
76 | i[34567]86-*-cygwin* | i[34567]86-*-pe ) | |
77 | build_xm_file=i386/xm-cygwin.h | |
78 | build_exeext=.exe | |
79 | ;; | |
80 | i[34567]86-*-mingw32*) | |
81 | build_xm_file=i386/xm-mingw32.h | |
82 | build_exeext=.exe | |
83 | ;; | |
84 | i[34567]86-pc-msdosdjgpp*) | |
85 | build_xm_file=i386/xm-djgpp.h | |
86 | build_exeext=.exe | |
87 | ;; | |
88 | i[34567]86-*-sco3.2v5*) | |
89 | # 80386 running SCO Open Server 5 | |
90 | build_install_headers_dir=install-headers-cpio | |
91 | ;; | |
92 | i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4* ) | |
93 | build_xm_defines="SMALL_ARG_MAX" | |
94 | build_install_headers_dir=install-headers-cpio | |
95 | ;; | |
96 | i[34567]86-*-solaris2*) | |
97 | build_xm_defines="SMALL_ARG_MAX" | |
98 | ;; | |
99 | i[34567]86-*-sysv4*) | |
100 | # Intel x86 running system V r4 | |
101 | build_xm_defines="SMALL_ARG_MAX" | |
102 | build_install_headers_dir=install-headers-cpio | |
103 | ;; | |
104 | i[34567]86-*-udk*) | |
105 | # Intel x86 on SCO UW/OSR5 Dev Kit | |
106 | build_install_headers_dir=install-headers-cpio | |
107 | ;; | |
108 | i[34567]86-*-uwin*) | |
109 | build_exeext=.exe | |
110 | ;; | |
111 | i386-*-vsta) | |
112 | # Intel 80386's running VSTa kernel | |
5b28c537 NN |
113 | ;; |
114 | m68000-hp-hpux* | m68k-hp-hpux*) | |
115 | # HP 9000 series 300 | |
116 | build_install_headers_dir=install-headers-cpio | |
117 | ;; | |
5b28c537 NN |
118 | *-*-sysv*) |
119 | # All other System V variants. | |
120 | build_install_headers_dir=install-headers-cpio | |
121 | ;; | |
122 | esac | |
123 |