merge from gcc
[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 15hppa*) gdb_host_cpu=pa ;;
1581182a 16i[34567]86*) gdb_host_cpu=i386 ;;
c906108c 17m68*) gdb_host_cpu=m68k ;;
2aa830e4 18mips*) gdb_host_cpu=mips ;;
c906108c 19powerpc*) gdb_host_cpu=powerpc ;;
ea87b71b 20sparcv9 | sparc64) gdb_host_cpu=sparc ;;
4009c677 21s390*) gdb_host_cpu=s390 ;;
13a38d45 22sh*) gdb_host_cpu=sh ;;
abf22e64 23x86_64*) gdb_host_cpu=i386 ;;
7a76ced5 24xscale*) gdb_host_cpu=arm ;;
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 ;;
c906108c 43
c906108c
SS
44hppa*-*-hiux*) gdb_host=hppahpux ;;
45hppa*-*-hpux10.20) gdb_host=hpux1020 ;;
5ec846f9 46hppa*64*-*-hpux11*) gdb_host=hpux11w ;;
f2ae7829 47hppa*-*-hpux11*) gdb_host=hpux11 ;;
c906108c 48hppa*-*-hpux*) gdb_host=hppahpux ;;
c906108c 49
1581182a 50i[34567]86-ncr-*) gdb_host=ncr3000 ;;
1581182a
MK
51i[34567]86-*-bsd*) gdb_host=i386bsd ;;
52i[34567]86-*-dgux*) gdb_host=i386v4 ;;
53i[34567]86-*-freebsd*) gdb_host=fbsd ;;
54i[34567]86-*-netbsdelf*) gdb_host=nbsdelf ;;
55i[34567]86-*-netbsdaout*) gdb_host=nbsdaout ;;
56i[34567]86-*-netbsd*) gdb_host=nbsdaout ;;
57i[34567]86-*-go32*) gdb_host=go32 ;;
58i[34567]86-*-msdosdjgpp*) gdb_host=go32 ;;
59i[34567]86-*-linux*) gdb_host=linux ;;
60i[34567]86-*-lynxos*) gdb_host=i386lynx ;;
61i[34567]86-*-gnu*) gdb_host=i386gnu ;;
61bb466e 62i[3456]86-*-nto*) gdb_host=nto ;;
1581182a
MK
63i[34567]86-*-openbsd*) gdb_host=obsd ;;
64i[34567]86-*-sco3.2v5*) gdb_host=i386sco5 ;;
65i[34567]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
66i[34567]86-*-sco*) gdb_host=i386sco ;;
67i[34567]86-*-solaris*) gdb_host=i386sol2 ;;
68i[34567]86-*-sysv4.2*) gdb_host=i386v42mp ;;
69i[34567]86-*-sysv4*) gdb_host=i386v4 ;;
70i[34567]86-*-sysv5*) gdb_host=i386v42mp ;;
71i[34567]86-*-unixware2*) gdb_host=i386v42mp ;;
72i[34567]86-*-unixware*) gdb_host=i386v4 ;;
73i[34567]86-*-sysv*) gdb_host=i386v ;;
74i[34567]86-*-isc*) gdb_host=i386v ;;
75i[34567]86-*-cygwin*) gdb_host=cygwin ;;
eafb8301 76
596c9d4b 77ia64-*-aix*) gdb_host=aix ;;
eafb8301
KB
78ia64-*-linux*) gdb_host=linux ;;
79
5994185b
AC
80# OBSOLETE m680[01]0-sun-sunos3*) gdb_host=sun2os3 ;;
81# OBSOLETE m680[01]0-sun-sunos4*) gdb_host=sun2os4 ;;
c906108c 82
5994185b
AC
83# OBSOLETE m68*-att-*) gdb_host=3b1 ;;
84# OBSOLETE m68*-bull*-sysv*) gdb_host=dpx2 ;;
c906108c 85m68*-*-linux*) gdb_host=linux ;;
5994185b 86# OBSOLETE m68*-*-lynxos*) gdb_host=m68klynx ;;
9eeef8ef 87m68*-*-netbsd*) gdb_host=nbsdaout ;;
5994185b
AC
88# OBSOLETE m68*-*-sysv4*) gdb_host=m68kv4 ;;
89# OBSOLETE m68*-motorola-*) gdb_host=delta68 ;;
90# OBSOLETE m68*-sun-sunos3*) gdb_host=sun3os3 ;;
91# OBSOLETE m68*-sun-sunos4*) gdb_host=sun3os4 ;;
92# OBSOLETE m68*-sun-*) gdb_host=sun3os4 ;;
c906108c 93
0748d941
AC
94# OBSOLETE mips-dec-*) gdb_host=decstation ;;
95# OBSOLETE mips-little-*) gdb_host=littlemips ;;
c906108c 96mips-sgi-irix5*) gdb_host=irix5 ;;
1d06468c 97mips-sgi-irix6*) gdb_host=irix6 ;;
0748d941 98# OBSOLETE mips-sony-*) gdb_host=news-mips ;;
2aa830e4 99mips*-*-linux*) gdb_host=linux ;;
45888261 100mips*-*-netbsd*) gdb_host=nbsd ;;
0748d941
AC
101# OBSOLETE mips-*-mach3*) gdb_host=mipsm3 ;;
102# OBSOLETE mips-*-sysv4*) gdb_host=mipsv4 ;;
103# OBSOLETE mips-*-sysv*) gdb_host=riscos ;;
104# OBSOLETE mips-*-riscos*) gdb_host=riscos ;;
c906108c
SS
105
106none-*-*) gdb_host=none ;;
107
9eeef8ef 108ns32k-*-netbsd*) gdb_host=nbsdaout ;;
c906108c 109
c41669e0
KB
110powerpc-*-aix3*) gdb_host=aix ;;
111powerpc-*-aix4.[0-2]*) gdb_host=aix ;;
112powerpc-*-aix4.3.[0-1]*) gdb_host=aix ;;
113powerpc-*-aix*) gdb_host=aix432 ;;
c906108c 114powerpc-*-linux*) gdb_host=linux ;;
e42180d7 115powerpc-*-netbsd*) gdb_host=nbsd ;;
c906108c 116
8fbb30b1
JB
117powerpc64-*-linux*) gdb_host=ppc64-linux ;;
118
c906108c
SS
119rs6000-*-lynxos*) gdb_host=rs6000lynx ;;
120rs6000-*-aix4*) gdb_host=aix4 ;;
121rs6000-*-*) gdb_host=rs6000 ;;
122
4009c677
AC
123s390*-*-*) gdb_host=s390 ;;
124
13a38d45
JT
125sh*-*-netbsdelf*) gdb_host=nbsd ;;
126
c906108c
SS
127sparc-*-linux*) gdb_host=linux ;;
128sparc-*-lynxos*) gdb_host=sparclynx ;;
f2ae7829 129sparc-*-netbsdelf*) gdb_host=nbsdelf ;;
9eeef8ef
JT
130sparc-*-netbsdaout*) gdb_host=nbsdaout ;;
131sparc-*-netbsd*) gdb_host=nbsdaout ;;
c906108c
SS
132sparc-*-solaris2*) gdb_host=sun4sol2 ;;
133sparc-*-sunos4*) gdb_host=sun4os4 ;;
134sparc-*-sunos5*) gdb_host=sun4sol2 ;;
135sparc-*-*) gdb_host=sun4os4 ;;
54394ac3
DB
136sparc64-*-freebsd*|ultrasparc-*-freebsd*|sparcv9-*-freebsd*)
137 gdb_host=fbsd ;;
86168def 138sparc64-*-linux*) gdb_host=linux ;;
9ce5c36a 139sparc64-*-netbsd*) gdb_host=nbsd64 ;;
ea87b71b 140sparcv9-*-* | sparc64-*-*) gdb_host=sun4sol2 ;;
c906108c 141
c906108c
SS
142vax-*-bsd*) gdb_host=vaxbsd ;;
143vax-*-ultrix2*) gdb_host=vaxult2 ;;
144vax-*-ultrix*) gdb_host=vaxult ;;
145
abf22e64 146x86_64-*-linux*) gdb_host=x86-64linux ;;
68cc0bfb 147x86_64-*-freebsd*) gdb_host=fbsd64 ;;
cced5e27 148x86_64-*-netbsd*) gdb_host=nbsd64 ;;
abf22e64 149
c906108c 150esac
This page took 0.299877 seconds and 4 git commands to generate.