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