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