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