Mention 6.1.
[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 ;;
ee84457a 25m32r*) gdb_host_cpu=m32r ;;
c906108c
SS
26*) gdb_host_cpu=$host_cpu ;;
27
28esac
29
30# map host info into gdb names.
31
32case "${host}" in
33
c906108c
SS
34alpha*-*-osf1*) gdb_host=alpha-osf1 ;;
35alpha*-*-osf2*) gdb_host=alpha-osf2 ;;
36alpha*-*-osf[3456789]*) gdb_host=alpha-osf3 ;;
37alpha*-*-linux*) gdb_host=alpha-linux ;;
59c94889 38alpha*-*-freebsd*) gdb_host=fbsd ;;
da8ca43d 39alpha*-*-netbsd*) gdb_host=nbsd ;;
2031c21a 40alpha*-*-openbsd*) gdb_host=nbsd ;;
c906108c 41
f2ae7829 42arm*-*-linux*) gdb_host=linux ;;
9eeef8ef
JT
43arm*-*-netbsdelf*) gdb_host=nbsdelf ;;
44arm*-*-netbsd*) gdb_host=nbsdaout ;;
c906108c 45
c906108c
SS
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 50hppa*-*-hpux*) gdb_host=hppahpux ;;
c906108c 51
1581182a 52i[34567]86-ncr-*) gdb_host=ncr3000 ;;
1581182a 53i[34567]86-*-dgux*) gdb_host=i386v4 ;;
48184fd4
AC
54i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
55 gdb_host=fbsd ;;
56i[34567]86-*-netbsdelf* | i[34567]86-*-knetbsd*-gnu)
57 gdb_host=nbsdelf ;;
1581182a 58i[34567]86-*-freebsd*) gdb_host=fbsd ;;
1581182a
MK
59i[34567]86-*-netbsd*) gdb_host=nbsdaout ;;
60i[34567]86-*-go32*) gdb_host=go32 ;;
61i[34567]86-*-msdosdjgpp*) gdb_host=go32 ;;
62i[34567]86-*-linux*) gdb_host=linux ;;
63i[34567]86-*-lynxos*) gdb_host=i386lynx ;;
64i[34567]86-*-gnu*) gdb_host=i386gnu ;;
61bb466e 65i[3456]86-*-nto*) gdb_host=nto ;;
ba361932
MK
66i[34567]86-*-openbsd[0-2].* | i[34567]86-*-openbsd3.[0-3])
67 gdb_host=obsdaout ;;
1581182a
MK
68i[34567]86-*-openbsd*) gdb_host=obsd ;;
69i[34567]86-*-sco3.2v5*) gdb_host=i386sco5 ;;
70i[34567]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
71i[34567]86-*-sco*) gdb_host=i386sco ;;
72i[34567]86-*-solaris*) gdb_host=i386sol2 ;;
73i[34567]86-*-sysv4.2*) gdb_host=i386v42mp ;;
74i[34567]86-*-sysv4*) gdb_host=i386v4 ;;
75i[34567]86-*-sysv5*) gdb_host=i386v42mp ;;
76i[34567]86-*-unixware2*) gdb_host=i386v42mp ;;
77i[34567]86-*-unixware*) gdb_host=i386v4 ;;
78i[34567]86-*-sysv*) gdb_host=i386v ;;
79i[34567]86-*-isc*) gdb_host=i386v ;;
80i[34567]86-*-cygwin*) gdb_host=cygwin ;;
eafb8301 81
596c9d4b 82ia64-*-aix*) gdb_host=aix ;;
eafb8301
KB
83ia64-*-linux*) gdb_host=linux ;;
84
5994185b
AC
85# OBSOLETE m680[01]0-sun-sunos3*) gdb_host=sun2os3 ;;
86# OBSOLETE m680[01]0-sun-sunos4*) gdb_host=sun2os4 ;;
c906108c 87
5994185b
AC
88# OBSOLETE m68*-att-*) gdb_host=3b1 ;;
89# OBSOLETE m68*-bull*-sysv*) gdb_host=dpx2 ;;
c906108c 90m68*-*-linux*) gdb_host=linux ;;
5994185b 91# OBSOLETE m68*-*-lynxos*) gdb_host=m68klynx ;;
9eeef8ef 92m68*-*-netbsd*) gdb_host=nbsdaout ;;
5994185b
AC
93# OBSOLETE m68*-*-sysv4*) gdb_host=m68kv4 ;;
94# OBSOLETE m68*-motorola-*) gdb_host=delta68 ;;
95# OBSOLETE m68*-sun-sunos3*) gdb_host=sun3os3 ;;
96# OBSOLETE m68*-sun-sunos4*) gdb_host=sun3os4 ;;
97# OBSOLETE m68*-sun-*) gdb_host=sun3os4 ;;
c906108c 98
0748d941
AC
99# OBSOLETE mips-dec-*) gdb_host=decstation ;;
100# OBSOLETE mips-little-*) gdb_host=littlemips ;;
c906108c 101mips-sgi-irix5*) gdb_host=irix5 ;;
1d06468c 102mips-sgi-irix6*) gdb_host=irix6 ;;
0748d941 103# OBSOLETE mips-sony-*) gdb_host=news-mips ;;
2aa830e4 104mips*-*-linux*) gdb_host=linux ;;
45888261 105mips*-*-netbsd*) gdb_host=nbsd ;;
0748d941
AC
106# OBSOLETE mips-*-mach3*) gdb_host=mipsm3 ;;
107# OBSOLETE mips-*-sysv4*) gdb_host=mipsv4 ;;
108# OBSOLETE mips-*-sysv*) gdb_host=riscos ;;
109# OBSOLETE mips-*-riscos*) gdb_host=riscos ;;
c906108c 110
9eeef8ef 111ns32k-*-netbsd*) gdb_host=nbsdaout ;;
c906108c 112
c41669e0
KB
113powerpc-*-aix3*) gdb_host=aix ;;
114powerpc-*-aix4.[0-2]*) gdb_host=aix ;;
115powerpc-*-aix4.3.[0-1]*) gdb_host=aix ;;
116powerpc-*-aix*) gdb_host=aix432 ;;
c906108c 117powerpc-*-linux*) gdb_host=linux ;;
e42180d7 118powerpc-*-netbsd*) gdb_host=nbsd ;;
c906108c 119
8fbb30b1
JB
120powerpc64-*-linux*) gdb_host=ppc64-linux ;;
121
c906108c
SS
122rs6000-*-lynxos*) gdb_host=rs6000lynx ;;
123rs6000-*-aix4*) gdb_host=aix4 ;;
124rs6000-*-*) gdb_host=rs6000 ;;
125
4009c677
AC
126s390*-*-*) gdb_host=s390 ;;
127
13a38d45
JT
128sh*-*-netbsdelf*) gdb_host=nbsd ;;
129
386c036b 130sparc64-*-freebsd*) gdb_host=fbsd ;;
c906108c 131sparc-*-linux*) gdb_host=linux ;;
386c036b 132sparc64-*-linux*) gdb_host=linux64 ;;
f2ae7829 133sparc-*-netbsdelf*) gdb_host=nbsdelf ;;
9eeef8ef
JT
134sparc-*-netbsdaout*) gdb_host=nbsdaout ;;
135sparc-*-netbsd*) gdb_host=nbsdaout ;;
9ce5c36a 136sparc64-*-netbsd*) gdb_host=nbsd64 ;;
f2cab569
MK
137sparc-*-openbsd*) gdb_host=nbsdelf ;;
138sparc64-*-openbsd*) gdb_host=nbsd64 ;;
386c036b
MK
139sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
140 gdb_host=sol2
141 ;;
c906108c 142
c906108c
SS
143vax-*-bsd*) gdb_host=vaxbsd ;;
144vax-*-ultrix2*) gdb_host=vaxult2 ;;
145vax-*-ultrix*) gdb_host=vaxult ;;
146
9c1488cb 147x86_64-*-linux*) gdb_host=linux64 ;;
68cc0bfb 148x86_64-*-freebsd*) gdb_host=fbsd64 ;;
cced5e27 149x86_64-*-netbsd*) gdb_host=nbsd64 ;;
e2879ccb 150x86_64-*-openbsd*) gdb_host=obsd64 ;;
abf22e64 151
ee84457a
AC
152m32r*-*-linux*) gdb_host=linux ;;
153
c906108c 154esac
This page took 0.293838 seconds and 4 git commands to generate.