2003-08-07 Michal Ludvig <mludvig@suse.cz>
[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 ;;
24*) gdb_host_cpu=$host_cpu ;;
25
26esac
27
28# map host info into gdb names.
29
30case "${host}" in
31
32alpha*-*-osf1*) gdb_host=alpha-osf1 ;;
33alpha*-*-osf2*) gdb_host=alpha-osf2 ;;
34alpha*-*-osf[3456789]*) gdb_host=alpha-osf3 ;;
35alpha*-*-linux*) gdb_host=alpha-linux ;;
36alpha*-*-freebsd*) gdb_host=fbsd ;;
37alpha*-*-netbsd*) gdb_host=nbsd ;;
38
39arm*-*-linux*) gdb_host=linux ;;
40arm*-*-netbsdelf*) gdb_host=nbsdelf ;;
41arm*-*-netbsd*) gdb_host=nbsdaout ;;
42
43# OBSOLETE hppa*-*-bsd*) gdb_host=hppabsd ;;
44hppa*-*-hiux*) gdb_host=hppahpux ;;
45hppa*-*-hpux10.20) gdb_host=hpux1020 ;;
46hppa*64*-*-hpux11*) gdb_host=hpux11w ;;
47hppa*-*-hpux11*) gdb_host=hpux11 ;;
48hppa*-*-hpux*) gdb_host=hppahpux ;;
49# OBSOLETE hppa*-*-osf*) gdb_host=hppaosf ;;
50
51i[34567]86-ncr-*) gdb_host=ncr3000 ;;
52# OBSOLETE i[3456]86-sequent-bsd*) gdb_host=symmetry ;; # dynix
53# OBSOLETE i[3456]86-sequent-sysv4*) gdb_host=ptx4 ;;
54# OBSOLETE i[3456]86-sequent-sysv*) gdb_host=ptx ;;
55i[34567]86-*-bsd*) gdb_host=i386bsd ;;
56i[34567]86-*-dgux*) gdb_host=i386v4 ;;
57i[34567]86-*-freebsd*) gdb_host=fbsd ;;
58i[34567]86-*-netbsdelf*) gdb_host=nbsdelf ;;
59i[34567]86-*-netbsdaout*) gdb_host=nbsdaout ;;
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*) gdb_host=obsd ;;
68i[34567]86-*-sco3.2v5*) gdb_host=i386sco5 ;;
69i[34567]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
70i[34567]86-*-sco*) gdb_host=i386sco ;;
71i[34567]86-*-solaris*) gdb_host=i386sol2 ;;
72i[34567]86-*-sysv4.2*) gdb_host=i386v42mp ;;
73i[34567]86-*-sysv4*) gdb_host=i386v4 ;;
74i[34567]86-*-sysv5*) gdb_host=i386v42mp ;;
75i[34567]86-*-unixware2*) gdb_host=i386v42mp ;;
76i[34567]86-*-unixware*) gdb_host=i386v4 ;;
77i[34567]86-*-sysv*) gdb_host=i386v ;;
78i[34567]86-*-isc*) gdb_host=i386v ;;
79i[34567]86-*-cygwin*) gdb_host=cygwin ;;
80
81ia64-*-aix*) gdb_host=aix ;;
82ia64-*-linux*) gdb_host=linux ;;
83
84m680[01]0-sun-sunos3*) gdb_host=sun2os3 ;;
85m680[01]0-sun-sunos4*) gdb_host=sun2os4 ;;
86
87m68*-att-*) gdb_host=3b1 ;;
88m68*-bull*-sysv*) gdb_host=dpx2 ;;
89m68*-*-linux*) gdb_host=linux ;;
90m68*-*-lynxos*) gdb_host=m68klynx ;;
91m68*-*-netbsd*) gdb_host=nbsdaout ;;
92m68*-*-sysv4*) gdb_host=m68kv4 ;;
93m68*-motorola-*) gdb_host=delta68 ;;
94m68*-sun-sunos3*) gdb_host=sun3os3 ;;
95m68*-sun-sunos4*) gdb_host=sun3os4 ;;
96m68*-sun-*) gdb_host=sun3os4 ;;
97
98# OBSOLETE mips-dec-mach3*) gdb_host=mipsm3 ;;
99mips-dec-*) gdb_host=decstation ;;
100mips-little-*) gdb_host=littlemips ;;
101mips-sgi-irix3*) gdb_host=irix3 ;;
102mips-sgi-irix4*) gdb_host=irix4 ;;
103mips-sgi-irix5*) gdb_host=irix5 ;;
104mips-sgi-irix6*) gdb_host=irix6 ;;
105mips-sony-*) gdb_host=news-mips ;;
106mips*-*-linux*) gdb_host=linux ;;
107mips*-*-netbsd*) gdb_host=nbsd ;;
108mips-*-mach3*) gdb_host=mipsm3 ;;
109mips-*-sysv4*) gdb_host=mipsv4 ;;
110mips-*-sysv*) gdb_host=riscos ;;
111mips-*-riscos*) gdb_host=riscos ;;
112
113none-*-*) gdb_host=none ;;
114
115ns32k-*-netbsd*) gdb_host=nbsdaout ;;
116
117powerpc-*-aix3*) gdb_host=aix ;;
118powerpc-*-aix4.[0-2]*) gdb_host=aix ;;
119powerpc-*-aix4.3.[0-1]*) gdb_host=aix ;;
120powerpc-*-aix*) gdb_host=aix432 ;;
121powerpc-*-linux*) gdb_host=linux ;;
122powerpc-*-netbsd*) gdb_host=nbsd ;;
123
124powerpc64-*-linux*) gdb_host=ppc64-linux ;;
125
126rs6000-*-lynxos*) gdb_host=rs6000lynx ;;
127rs6000-*-aix4*) gdb_host=aix4 ;;
128rs6000-*-*) gdb_host=rs6000 ;;
129
130s390*-*-*) gdb_host=s390 ;;
131
132sh*-*-netbsdelf*) gdb_host=nbsd ;;
133
134sparc-*-linux*) gdb_host=linux ;;
135sparc-*-lynxos*) gdb_host=sparclynx ;;
136sparc-*-netbsdelf*) gdb_host=nbsdelf ;;
137sparc-*-netbsdaout*) gdb_host=nbsdaout ;;
138sparc-*-netbsd*) gdb_host=nbsdaout ;;
139sparc-*-solaris2*) gdb_host=sun4sol2 ;;
140sparc-*-sunos4*) gdb_host=sun4os4 ;;
141sparc-*-sunos5*) gdb_host=sun4sol2 ;;
142sparc-*-*) gdb_host=sun4os4 ;;
143sparc64-*-freebsd*|ultrasparc-*-freebsd*|sparcv9-*-freebsd*)
144 gdb_host=fbsd ;;
145sparc64-*-linux*) gdb_host=linux ;;
146sparc64-*-netbsd*) gdb_host=nbsd64 ;;
147sparcv9-*-* | sparc64-*-*) gdb_host=sun4sol2 ;;
148
149vax-*-bsd*) gdb_host=vaxbsd ;;
150vax-*-ultrix2*) gdb_host=vaxult2 ;;
151vax-*-ultrix*) gdb_host=vaxult ;;
152
153x86_64-*-linux*) gdb_host=x86-64linux ;;
154x86_64-*-freebsd*) gdb_host=fbsd64 ;;
155
156esac
This page took 0.022354 seconds and 4 git commands to generate.