This commit was generated by cvs2svn to track changes on a CVS vendor
[deliverable/binutils-gdb.git] / gdb / configure.host
1 # Mapping of configurations into GDB host definitions. This is
2 # invoked from the autoconf generated configure script.
3
4 # This file sets the following shell variables:
5 # gdb_host_cpu generic name of host's CPU
6 # gdb_host name of GDB host definition to use
7
8 # Map host cpu into the config cpu subdirectory name.
9 # The default is $host_cpu.
10
11 case "${host_cpu}" in
12
13 alpha*) gdb_host_cpu=alpha ;;
14 arm*) gdb_host_cpu=arm ;;
15 hppa*) gdb_host_cpu=pa ;;
16 i[3456]86*) gdb_host_cpu=i386 ;;
17 m68*) gdb_host_cpu=m68k ;;
18 # OBSOLETE m88*) gdb_host_cpu=m88k ;;
19 mips*) gdb_host_cpu=mips ;;
20 powerpc*) gdb_host_cpu=powerpc ;;
21 sparcv9 | sparc64) gdb_host_cpu=sparc ;;
22 s390*) gdb_host_cpu=s390 ;;
23 sh*) gdb_host_cpu=sh ;;
24 x86_64*) gdb_host_cpu=i386 ;;
25 *) gdb_host_cpu=$host_cpu ;;
26
27 esac
28
29 # map host info into gdb names.
30
31 case "${host}" in
32
33 alpha*-*-osf1*) gdb_host=alpha-osf1 ;;
34 alpha*-*-osf2*) gdb_host=alpha-osf2 ;;
35 alpha*-*-osf[3456789]*) gdb_host=alpha-osf3 ;;
36 alpha*-*-linux*) gdb_host=alpha-linux ;;
37 alpha*-*-freebsd*) gdb_host=fbsd ;;
38 alpha*-*-netbsd*) gdb_host=nbsd ;;
39
40 arm*-*-linux*) gdb_host=linux ;;
41 arm*-*-netbsdelf*) gdb_host=nbsdelf ;;
42 arm*-*-netbsd*) gdb_host=nbsdaout ;;
43 arm*-*-*) gdb_host=arm ;;
44
45 hppa*-*-bsd*) gdb_host=hppabsd ;;
46 hppa*-*-hiux*) gdb_host=hppahpux ;;
47 hppa*-*-hpux10.20) gdb_host=hpux1020 ;;
48 hppa*64*-*-hpux11*) gdb_host=hpux11w ;;
49 hppa*-*-hpux11*) gdb_host=hpux11 ;;
50 hppa*-*-hpux*) gdb_host=hppahpux ;;
51 hppa*-*-osf*) gdb_host=hppaosf ;;
52
53 i[3456]86-ncr-*) gdb_host=ncr3000 ;;
54 i[3456]86-sequent-bsd*) gdb_host=symmetry ;; # dynix
55 i[3456]86-sequent-sysv4*) gdb_host=ptx4 ;;
56 i[3456]86-sequent-sysv*) gdb_host=ptx ;;
57 # OBSOLETE i[3456]86-*-aix*) gdb_host=i386aix ;;
58 i[3456]86-*-bsd*) gdb_host=i386bsd ;;
59 i[3456]86-*-dgux*) gdb_host=i386dgux ;;
60 i[3456]86-*-freebsd*) gdb_host=fbsd ;;
61 i[3456]86-*-netbsdelf*) gdb_host=nbsdelf ;;
62 i[3456]86-*-netbsdaout*) gdb_host=nbsdaout ;;
63 i[3456]86-*-netbsd*) gdb_host=nbsdaout ;;
64 i[3456]86-*-go32*) gdb_host=go32 ;;
65 i[3456]86-*-msdosdjgpp*) gdb_host=go32 ;;
66 i[3456]86-*-linux*) gdb_host=linux ;;
67 i[3456]86-*-lynxos*) gdb_host=i386lynx ;;
68 # OBSOLETE i[3456]86-*-mach3*) gdb_host=i386m3 ;;
69 # OBSOLETE i[3456]86-*-mach*) gdb_host=i386mach ;;
70 i[3456]86-*-gnu*) gdb_host=i386gnu ;;
71 i[3456]86-*-openbsd*) gdb_host=obsd ;;
72 # OBSOLETE i[3456]86-*-osf1mk*) gdb_host=i386mk ;;
73 i[3456]86-*-sco3.2v5*) gdb_host=i386sco5 ;;
74 i[3456]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
75 i[3456]86-*-sco*) gdb_host=i386sco ;;
76 i[3456]86-*-solaris*) gdb_host=i386sol2 ;;
77 i[3456]86-*-sysv3.2*) gdb_host=i386v32 ;;
78 i[3456]86-*-sysv32*) gdb_host=i386v32 ;;
79 i[3456]86-*-sysv4.2*) gdb_host=i386v42mp ;;
80 i[3456]86-*-sysv4*) gdb_host=i386v4 ;;
81 i[3456]86-*-sysv5*) gdb_host=i386v42mp ;;
82 i[3456]86-*-unixware2*) gdb_host=i386v42mp ;;
83 i[3456]86-*-unixware*) gdb_host=i386v4 ;;
84 i[3456]86-*-sysv*) gdb_host=i386v ;;
85 i[3456]86-*-isc*) gdb_host=i386v32 ;;
86 i[3456]86-*-cygwin*) gdb_host=cygwin ;;
87
88 ia64-*-aix*) gdb_host=aix ;;
89 ia64-*-linux*) gdb_host=linux ;;
90
91 m680[01]0-sun-sunos3*) gdb_host=sun2os3 ;;
92 m680[01]0-sun-sunos4*) gdb_host=sun2os4 ;;
93
94 # OBSOLETE m68*-apollo*-sysv*) gdb_host=apollo68v ;;
95 # OBSOLETE m68*-apollo*-bsd*) gdb_host=apollo68b ;;
96 m68*-att-*) gdb_host=3b1 ;;
97 m68*-bull*-sysv*) gdb_host=dpx2 ;;
98 # OBSOLETE m68*-hp-bsd*) gdb_host=hp300bsd ;;
99 # OBSOLETE m68*-hp-hpux*) gdb_host=hp300hpux ;;
100 m68*-*-linux*) gdb_host=linux ;;
101 m68*-*-lynxos*) gdb_host=m68klynx ;;
102 m68*-*-netbsd*) gdb_host=nbsdaout ;;
103 m68*-*-sysv4*) gdb_host=m68kv4 ;;
104 m68*-motorola-*) gdb_host=delta68 ;;
105 m68*-sun-sunos3*) gdb_host=sun3os3 ;;
106 m68*-sun-sunos4*) gdb_host=sun3os4 ;;
107 m68*-sun-*) gdb_host=sun3os4 ;;
108
109 # OBSOLETE m88*-motorola-sysv4*) gdb_host=delta88v4 ;;
110 # OBSOLETE m88*-motorola-sysv*) gdb_host=delta88 ;;
111 # OBSOLETE m88*-*-*) gdb_host=m88k ;;
112
113 mips-dec-mach3*) gdb_host=mipsm3 ;;
114 mips-dec-*) gdb_host=decstation ;;
115 mips-little-*) gdb_host=littlemips ;;
116 mips-sgi-irix3*) gdb_host=irix3 ;;
117 mips-sgi-irix4*) gdb_host=irix4 ;;
118 mips-sgi-irix5*) gdb_host=irix5 ;;
119 mips-sgi-irix6*) gdb_host=irix6 ;;
120 mips-sony-*) gdb_host=news-mips ;;
121 mips*-*-linux*) gdb_host=linux ;;
122 mips*-*-netbsd*) gdb_host=nbsd ;;
123 mips-*-mach3*) gdb_host=mipsm3 ;;
124 mips-*-sysv4*) gdb_host=mipsv4 ;;
125 mips-*-sysv*) gdb_host=riscos ;;
126 mips-*-riscos*) gdb_host=riscos ;;
127
128 none-*-*) gdb_host=none ;;
129
130 ns32k-*-netbsd*) gdb_host=nbsdaout ;;
131
132 powerpc-*-aix3*) gdb_host=aix ;;
133 powerpc-*-aix4.[0-2]*) gdb_host=aix ;;
134 powerpc-*-aix4.3.[0-1]*) gdb_host=aix ;;
135 powerpc-*-aix*) gdb_host=aix432 ;;
136 powerpc-*-linux*) gdb_host=linux ;;
137 powerpc-*-netbsd*) gdb_host=nbsd ;;
138
139 rs6000-*-lynxos*) gdb_host=rs6000lynx ;;
140 rs6000-*-aix4*) gdb_host=aix4 ;;
141 rs6000-*-*) gdb_host=rs6000 ;;
142
143 s390*-*-*) gdb_host=s390 ;;
144
145 sh*-*-netbsdelf*) gdb_host=nbsd ;;
146
147 sparc-*-linux*) gdb_host=linux ;;
148 sparc-*-lynxos*) gdb_host=sparclynx ;;
149 sparc-*-netbsdelf*) gdb_host=nbsdelf ;;
150 sparc-*-netbsdaout*) gdb_host=nbsdaout ;;
151 sparc-*-netbsd*) gdb_host=nbsdaout ;;
152 sparc-*-solaris2*) gdb_host=sun4sol2 ;;
153 sparc-*-sunos4*) gdb_host=sun4os4 ;;
154 sparc-*-sunos5*) gdb_host=sun4sol2 ;;
155 sparc-*-*) gdb_host=sun4os4 ;;
156 sparc64-*-freebsd*|ultrasparc-*-freebsd*|sparcv9-*-freebsd*)
157 gdb_host=fbsd ;;
158 sparc64-*-linux*) gdb_host=linux ;;
159 sparc64-*-netbsd*) gdb_host=nbsd64 ;;
160 sparcv9-*-* | sparc64-*-*) gdb_host=sun4sol2 ;;
161
162 strongarm-*-*) gdb_host=arm ;;
163 xscale-*-*) gdb_host=arm ;;
164
165 vax-*-bsd*) gdb_host=vaxbsd ;;
166 vax-*-ultrix2*) gdb_host=vaxult2 ;;
167 vax-*-ultrix*) gdb_host=vaxult ;;
168
169 x86_64-*-linux*) gdb_host=x86-64linux ;;
170
171 esac
This page took 0.062887 seconds and 5 git commands to generate.