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