* Makefile.in (ALLDEPFILES): Add alpha-osf1-tdep.c.
[deliverable/binutils-gdb.git] / gdb / configure.host
CommitLineData
c906108c
SS
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
11case "${host_cpu}" in
12
13alpha*) gdb_host_cpu=alpha ;;
f2ae7829 14arm*) gdb_host_cpu=arm ;;
c906108c
SS
15hppa*) gdb_host_cpu=pa ;;
16i[3456]86*) gdb_host_cpu=i386 ;;
17m68*) gdb_host_cpu=m68k ;;
18m88*) gdb_host_cpu=m88k ;;
2aa830e4 19mips*) gdb_host_cpu=mips ;;
c906108c 20powerpc*) gdb_host_cpu=powerpc ;;
ea87b71b 21sparcv9 | sparc64) gdb_host_cpu=sparc ;;
4009c677 22s390*) gdb_host_cpu=s390 ;;
abf22e64 23x86_64*) gdb_host_cpu=i386 ;;
c906108c
SS
24*) gdb_host_cpu=$host_cpu ;;
25
26esac
27
28# map host info into gdb names.
29
30case "${host}" in
31
c906108c
SS
32alpha*-*-osf1*) gdb_host=alpha-osf1 ;;
33alpha*-*-osf2*) gdb_host=alpha-osf2 ;;
34alpha*-*-osf[3456789]*) gdb_host=alpha-osf3 ;;
35alpha*-*-linux*) gdb_host=alpha-linux ;;
59c94889 36alpha*-*-freebsd*) gdb_host=fbsd ;;
c906108c 37
f2ae7829 38arm*-*-linux*) gdb_host=linux ;;
e7a42bc8 39arm*-*-netbsd*) gdb_host=nbsd ;;
f2ae7829 40arm*-*-*) gdb_host=arm ;;
c906108c 41
c906108c
SS
42hppa*-*-bsd*) gdb_host=hppabsd ;;
43hppa*-*-hiux*) gdb_host=hppahpux ;;
44hppa*-*-hpux10.20) gdb_host=hpux1020 ;;
5ec846f9 45hppa*64*-*-hpux11*) gdb_host=hpux11w ;;
f2ae7829 46hppa*-*-hpux11*) gdb_host=hpux11 ;;
c906108c
SS
47hppa*-*-hpux*) gdb_host=hppahpux ;;
48hppa*-*-osf*) gdb_host=hppaosf ;;
49
50i[3456]86-ncr-*) gdb_host=ncr3000 ;;
51i[3456]86-sequent-bsd*) gdb_host=symmetry ;; # dynix
52i[3456]86-sequent-sysv4*) gdb_host=ptx4 ;;
53i[3456]86-sequent-sysv*) gdb_host=ptx ;;
54i[3456]86-*-aix*) gdb_host=i386aix ;;
55i[3456]86-*-bsd*) gdb_host=i386bsd ;;
56i[3456]86-*-dgux*) gdb_host=i386dgux ;;
57i[3456]86-*-freebsd*) gdb_host=fbsd ;;
ca04024d
C
58i[3456]86-*-netbsdelf*) gdb_host=nbsdelf ;;
59i[3456]86-*-netbsdaout*) gdb_host=nbsd ;;
c906108c
SS
60i[3456]86-*-netbsd*) gdb_host=nbsd ;;
61i[3456]86-*-go32*) gdb_host=go32 ;;
f2ae7829 62i[3456]86-*-msdosdjgpp*) gdb_host=go32 ;;
c906108c
SS
63i[3456]86-*-linux*) gdb_host=linux ;;
64i[3456]86-*-lynxos*) gdb_host=i386lynx ;;
65i[3456]86-*-mach3*) gdb_host=i386m3 ;;
66i[3456]86-*-mach*) gdb_host=i386mach ;;
67i[3456]86-*-gnu*) gdb_host=i386gnu ;;
eb7cedd9 68i[3456]86-*-openbsd*) gdb_host=obsd ;;
c906108c
SS
69i[3456]86-*-osf1mk*) gdb_host=i386mk ;;
70i[3456]86-*-sco3.2v5*) gdb_host=i386sco5 ;;
71i[3456]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
72i[3456]86-*-sco*) gdb_host=i386sco ;;
73i[3456]86-*-solaris*) gdb_host=i386sol2 ;;
c906108c
SS
74i[3456]86-*-sysv3.2*) gdb_host=i386v32 ;;
75i[3456]86-*-sysv32*) gdb_host=i386v32 ;;
76i[3456]86-*-sysv4.2*) gdb_host=i386v42mp ;;
77i[3456]86-*-sysv4*) gdb_host=i386v4 ;;
78i[3456]86-*-sysv5*) gdb_host=i386v42mp ;;
79i[3456]86-*-unixware2*) gdb_host=i386v42mp ;;
80i[3456]86-*-unixware*) gdb_host=i386v4 ;;
81i[3456]86-*-sysv*) gdb_host=i386v ;;
82i[3456]86-*-isc*) gdb_host=i386v32 ;;
83i[3456]86-*-cygwin*) gdb_host=cygwin ;;
eafb8301 84
596c9d4b 85ia64-*-aix*) gdb_host=aix ;;
eafb8301
KB
86ia64-*-linux*) gdb_host=linux ;;
87
c906108c
SS
88m680[01]0-sun-sunos3*) gdb_host=sun2os3 ;;
89m680[01]0-sun-sunos4*) gdb_host=sun2os4 ;;
c906108c 90
c906108c
SS
91m68*-apollo*-sysv*) gdb_host=apollo68v ;;
92m68*-apollo*-bsd*) gdb_host=apollo68b ;;
93m68*-att-*) gdb_host=3b1 ;;
94m68*-bull*-sysv*) gdb_host=dpx2 ;;
95m68*-hp-bsd*) gdb_host=hp300bsd ;;
96m68*-hp-hpux*) gdb_host=hp300hpux ;;
c906108c
SS
97m68*-*-linux*) gdb_host=linux ;;
98m68*-*-lynxos*) gdb_host=m68klynx ;;
99m68*-*-netbsd*) gdb_host=nbsd ;;
100m68*-*-sysv4*) gdb_host=m68kv4 ;;
101m68*-motorola-*) gdb_host=delta68 ;;
c906108c
SS
102m68*-sun-sunos3*) gdb_host=sun3os3 ;;
103m68*-sun-sunos4*) gdb_host=sun3os4 ;;
104m68*-sun-*) gdb_host=sun3os4 ;;
105
c906108c
SS
106m88*-motorola-sysv4*) gdb_host=delta88v4 ;;
107m88*-motorola-sysv*) gdb_host=delta88 ;;
108m88*-*-*) gdb_host=m88k ;;
109
f2ae7829 110mips-dec-mach3*) gdb_host=mipsm3 ;;
c906108c
SS
111mips-dec-*) gdb_host=decstation ;;
112mips-little-*) gdb_host=littlemips ;;
113mips-sgi-irix3*) gdb_host=irix3 ;;
114mips-sgi-irix4*) gdb_host=irix4 ;;
115mips-sgi-irix5*) gdb_host=irix5 ;;
1d06468c 116mips-sgi-irix6*) gdb_host=irix6 ;;
c906108c 117mips-sony-*) gdb_host=news-mips ;;
2aa830e4 118mips*-*-linux*) gdb_host=linux ;;
c906108c
SS
119mips-*-mach3*) gdb_host=mipsm3 ;;
120mips-*-sysv4*) gdb_host=mipsv4 ;;
121mips-*-sysv*) gdb_host=riscos ;;
122mips-*-riscos*) gdb_host=riscos ;;
123
124none-*-*) gdb_host=none ;;
125
c906108c 126ns32k-*-netbsd*) gdb_host=nbsd ;;
c906108c
SS
127
128powerpc-*-aix*) gdb_host=aix ;;
c906108c 129powerpc-*-linux*) gdb_host=linux ;;
e42180d7 130powerpc-*-netbsd*) gdb_host=nbsd ;;
c906108c 131
c906108c
SS
132rs6000-*-lynxos*) gdb_host=rs6000lynx ;;
133rs6000-*-aix4*) gdb_host=aix4 ;;
134rs6000-*-*) gdb_host=rs6000 ;;
135
4009c677
AC
136s390*-*-*) gdb_host=s390 ;;
137
c906108c
SS
138sparc-*-linux*) gdb_host=linux ;;
139sparc-*-lynxos*) gdb_host=sparclynx ;;
f2ae7829
KB
140sparc-*-netbsdelf*) gdb_host=nbsdelf ;;
141sparc-*-netbsdaout*) gdb_host=nbsd ;;
c906108c
SS
142sparc-*-netbsd*) gdb_host=nbsd ;;
143sparc-*-solaris2*) gdb_host=sun4sol2 ;;
144sparc-*-sunos4*) gdb_host=sun4os4 ;;
145sparc-*-sunos5*) gdb_host=sun4sol2 ;;
146sparc-*-*) gdb_host=sun4os4 ;;
54394ac3
DB
147sparc64-*-freebsd*|ultrasparc-*-freebsd*|sparcv9-*-freebsd*)
148 gdb_host=fbsd ;;
86168def 149sparc64-*-linux*) gdb_host=linux ;;
ea87b71b 150sparcv9-*-* | sparc64-*-*) gdb_host=sun4sol2 ;;
c906108c
SS
151
152strongarm-*-*) gdb_host=arm ;;
7cf6486b 153xscale-*-*) gdb_host=arm ;;
c906108c 154
c906108c
SS
155vax-*-bsd*) gdb_host=vaxbsd ;;
156vax-*-ultrix2*) gdb_host=vaxult2 ;;
157vax-*-ultrix*) gdb_host=vaxult ;;
158
abf22e64
AJ
159x86_64-*-linux*) gdb_host=x86-64linux ;;
160
c906108c 161esac
This page took 0.18247 seconds and 4 git commands to generate.