Mercurial > hg > CbC > CbC_gcc
annotate gcc/config.build @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | 77e2b8dfacca |
children | 04ced10e8804 |
rev | line source |
---|---|
0 | 1 # GCC build-specific configuration file. |
63
b7f97abdc517
update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
2 # Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2007, 2008, 2009, 2010 |
0 | 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 3, 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 COPYING3. If not see | |
19 #<http://www.gnu.org/licenses/>. | |
20 | |
21 # This is the GCC build-specific configuration file | |
22 # where a configuration type is mapped to different system-specific | |
23 # definitions and files. This is invoked by the autoconf-generated | |
24 # configure script. Putting it in a separate shell file lets us skip | |
25 # running autoconf when modifying build-specific information. | |
26 | |
27 # This file switches on the shell variable ${build}. As much of this | |
28 # as possible should be replaced with autoconf tests in the future. | |
29 | |
30 # This file sets the following shell variables for use by the | |
31 # autoconf-generated configure script: | |
32 # | |
33 # build_xm_defines List of macros to define when compiling for the | |
34 # build machine. | |
35 # | |
36 # build_xm_file List of files to include when compiling for the | |
37 # build machine. | |
38 # | |
39 # build_install_headers_dir | |
40 # Target to use when installing header files. | |
41 # | |
42 # build_exeext Set to the suffix, if the build machine requires | |
43 # executables to have a file name suffix. | |
44 | |
45 # Default settings. | |
46 build_xm_file= | |
47 build_xm_defines= | |
48 build_exeext= | |
49 build_install_headers_dir=install-headers-tar | |
50 build_file_translate= | |
51 | |
52 # System-specific settings. | |
53 case $build in | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
54 alpha64-dec-*vms*) |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
55 build_xm_file="vms/xm-vms.h vms/xm-vms64.h" |
0 | 56 build_exeext=.exe |
57 build_install_headers_dir=install-headers-cp | |
58 prefix=/gnu | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
59 local_prefix=/gnu/local |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
60 ;; |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
61 alpha*-dec-*vms*) |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
62 build_xm_file="vms/xm-vms.h" |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
63 build_exeext=.exe |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
64 build_install_headers_dir=install-headers-cp |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
65 prefix=/gnu |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
66 local_prefix=/gnu/local |
0 | 67 ;; |
68 hppa1.0-*-hpux1[01]* | \ | |
69 hppa*64*-*-hpux11* | \ | |
70 hppa1.1-*-hpux11* | \ | |
71 hppa2*-*-hpux11* ) | |
72 build_install_headers_dir=install-headers-cpio | |
73 ;; | |
74 i370-*-opened* | i370-*-mvs* ) | |
75 # IBM 360/370/390 Architecture | |
76 build_xm_defines='FATAL_EXIT_CODE=12' | |
77 ;; | |
78 i[34567]86-*-cygwin* | i[34567]86-*-pe ) | |
79 build_xm_file=i386/xm-cygwin.h | |
80 build_exeext=.exe | |
81 ;; | |
82 i[34567]86-*-mingw32* | x86_64-*-mingw*) | |
83 build_xm_file=i386/xm-mingw32.h | |
84 build_exeext=.exe | |
85 t=`(CMD //c echo /c) 2>/dev/null` | |
86 case $t in ?:*) | |
87 build_file_translate="CMD //c" | |
88 ;; | |
89 esac | |
90 ;; | |
91 i[34567]86-pc-msdosdjgpp*) | |
92 build_xm_file=i386/xm-djgpp.h | |
93 build_exeext=.exe | |
94 ;; | |
95 i[34567]86-*-sco3.2v5*) | |
96 # 80386 running SCO Open Server 5 | |
97 build_install_headers_dir=install-headers-cpio | |
98 ;; | |
99 i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4* ) | |
100 build_install_headers_dir=install-headers-cpio | |
101 ;; | |
102 i[34567]86-*-sysv4*) | |
103 # Intel x86 running system V r4 | |
104 build_install_headers_dir=install-headers-cpio | |
105 ;; | |
106 i[34567]86-*-udk*) | |
107 # Intel x86 on SCO UW/OSR5 Dev Kit | |
108 build_install_headers_dir=install-headers-cpio | |
109 ;; | |
110 i[34567]86-*-uwin*) | |
111 build_exeext=.exe | |
112 ;; | |
113 i386-*-vsta) | |
114 # Intel 80386's running VSTa kernel | |
115 ;; | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
116 ia64-hp-*vms*) |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
117 build_xm_file="vms/xm-vms.h vms/xm-vms64.h" |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
118 build_exeext=.exe |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
119 build_install_headers_dir=install-headers-cp |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
120 prefix=/gnu |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
121 local_prefix=/gnu/local |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
122 ;; |
0 | 123 m68000-hp-hpux* | m68k-hp-hpux*) |
124 # HP 9000 series 300 | |
125 build_install_headers_dir=install-headers-cpio | |
126 ;; | |
127 *-*-sysv*) | |
128 # All other System V variants. | |
129 build_install_headers_dir=install-headers-cpio | |
130 ;; | |
131 esac | |
132 |