* bsd-kvm.c, bsd-kvm.h: New files.
[deliverable/binutils-gdb.git] / gdb / configure.host
... / ...
CommitLineData
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 ;;
14arm*) gdb_host_cpu=arm ;;
15hppa*) gdb_host_cpu=pa ;;
16i[34567]86*) gdb_host_cpu=i386 ;;
17m68*) gdb_host_cpu=m68k ;;
18mips*) gdb_host_cpu=mips ;;
19powerpc*) gdb_host_cpu=powerpc ;;
20sparcv9 | sparc64) gdb_host_cpu=sparc ;;
21s390*) gdb_host_cpu=s390 ;;
22sh*) gdb_host_cpu=sh ;;
23x86_64*) gdb_host_cpu=i386 ;;
24xscale*) gdb_host_cpu=arm ;;
25m32r*) gdb_host_cpu=m32r ;;
26*) gdb_host_cpu=$host_cpu ;;
27
28esac
29
30# map host info into gdb names.
31
32case "${host}" in
33
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 ;;
38alpha*-*-freebsd*) gdb_host=fbsd ;;
39alpha*-*-netbsd*) gdb_host=nbsd ;;
40alpha*-*-openbsd*) gdb_host=nbsd ;;
41
42arm*-*-linux*) gdb_host=linux ;;
43arm*-*-netbsdelf*) gdb_host=nbsdelf ;;
44arm*-*-netbsd*) gdb_host=nbsdaout ;;
45
46hppa*-*-hiux*) gdb_host=hppahpux ;;
47hppa*-*-hpux10.20) gdb_host=hpux1020 ;;
48hppa*64*-*-hpux11*) gdb_host=hpux11w ;;
49hppa*-*-hpux11*) gdb_host=hpux11 ;;
50hppa*-*-hpux*) gdb_host=hppahpux ;;
51hppa*-*-linux*) gdb_host=linux ;;
52
53i[34567]86-ncr-*) gdb_host=ncr3000 ;;
54i[34567]86-*-dgux*) gdb_host=i386v4 ;;
55i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
56 gdb_host=fbsd ;;
57i[34567]86-*-netbsdelf* | i[34567]86-*-knetbsd*-gnu)
58 gdb_host=nbsdelf ;;
59i[34567]86-*-freebsd*) gdb_host=fbsd ;;
60i[34567]86-*-netbsd*) gdb_host=nbsdaout ;;
61i[34567]86-*-go32*) gdb_host=go32 ;;
62i[34567]86-*-msdosdjgpp*) gdb_host=go32 ;;
63i[34567]86-*-linux*) gdb_host=linux ;;
64i[34567]86-*-lynxos*) gdb_host=i386lynx ;;
65i[34567]86-*-gnu*) gdb_host=i386gnu ;;
66i[3456]86-*-nto*) gdb_host=nto ;;
67i[34567]86-*-openbsd[0-2].* | i[34567]86-*-openbsd3.[0-3])
68 gdb_host=obsdaout ;;
69i[34567]86-*-openbsd*) gdb_host=obsd ;;
70i[34567]86-*-sco3.2v5*) gdb_host=i386sco5 ;;
71i[34567]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
72i[34567]86-*-sco*) gdb_host=i386sco ;;
73i[34567]86-*-solaris*) gdb_host=i386sol2 ;;
74i[34567]86-*-sysv4.2*) gdb_host=i386v42mp ;;
75i[34567]86-*-sysv4*) gdb_host=i386v4 ;;
76i[34567]86-*-sysv5*) gdb_host=i386v42mp ;;
77i[34567]86-*-unixware2*) gdb_host=i386v42mp ;;
78i[34567]86-*-unixware*) gdb_host=i386v4 ;;
79i[34567]86-*-sysv*) gdb_host=i386v ;;
80i[34567]86-*-isc*) gdb_host=i386v ;;
81i[34567]86-*-cygwin*) gdb_host=cygwin ;;
82
83ia64-*-aix*) gdb_host=aix ;;
84ia64-*-linux*) gdb_host=linux ;;
85
86m68*-*-linux*) gdb_host=linux ;;
87m68*-*-netbsdelf*) gdb_host=nbsdelf ;;
88m68*-*-netbsd*) gdb_host=nbsdaout ;;
89m68*-*-openbsd*) gdb_host=obsd ;;
90
91mips-sgi-irix5*) gdb_host=irix5 ;;
92mips-sgi-irix6*) gdb_host=irix6 ;;
93mips*-*-linux*) gdb_host=linux ;;
94mips*-*-netbsd*) gdb_host=nbsd ;;
95
96ns32k-*-netbsd*) gdb_host=nbsdaout ;;
97
98powerpc-*-aix3*) gdb_host=aix ;;
99powerpc-*-aix4.[0-2]*) gdb_host=aix ;;
100powerpc-*-aix4.3.[0-1]*) gdb_host=aix ;;
101powerpc-*-aix*) gdb_host=aix432 ;;
102powerpc-*-linux*) gdb_host=linux ;;
103powerpc-*-netbsd*) gdb_host=nbsd ;;
104powerpc-*-openbsd*) gdb_host=obsd ;;
105
106powerpc64-*-linux*) gdb_host=ppc64-linux ;;
107
108rs6000-*-lynxos*) gdb_host=rs6000lynx ;;
109rs6000-*-aix4*) gdb_host=aix4 ;;
110rs6000-*-*) gdb_host=rs6000 ;;
111
112s390*-*-*) gdb_host=s390 ;;
113
114sh*-*-netbsdelf*) gdb_host=nbsd ;;
115
116sparc64-*-freebsd*) gdb_host=fbsd ;;
117sparc-*-linux*) gdb_host=linux ;;
118sparc64-*-linux*) gdb_host=linux64 ;;
119sparc-*-netbsdelf*) gdb_host=nbsdelf ;;
120sparc-*-netbsdaout*) gdb_host=nbsdaout ;;
121sparc-*-netbsd*) gdb_host=nbsdaout ;;
122sparc64-*-netbsd*) gdb_host=nbsd64 ;;
123sparc-*-openbsd*) gdb_host=nbsdelf ;;
124sparc64-*-openbsd*) gdb_host=nbsd64 ;;
125sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
126 gdb_host=sol2
127 ;;
128
129vax-*-netbsdelf*) gdb_host=nbsdelf ;;
130vax-*-netbsd*) gdb_host=nbsdaout ;;
131vax-*-openbsd*) gdb_host=obsd ;;
132vax-*-bsd*) gdb_host=vaxbsd ;;
133vax-*-ultrix2*) gdb_host=vaxult2 ;;
134vax-*-ultrix*) gdb_host=vaxult ;;
135
136x86_64-*-linux*) gdb_host=linux64 ;;
137x86_64-*-freebsd*) gdb_host=fbsd64 ;;
138x86_64-*-netbsd*) gdb_host=nbsd64 ;;
139x86_64-*-openbsd*) gdb_host=obsd64 ;;
140
141m32r*-*-linux*) gdb_host=linux ;;
142
143esac
This page took 0.02457 seconds and 4 git commands to generate.