Add C_TCSYM and C_ECOML to expected RS6000 storage classes.
[deliverable/binutils-gdb.git] / bfd / configure.host
CommitLineData
252b5132
RH
1# This file is a shell script that overrides some of the tools and
2# flags used on a host specific basis.
3
4# Since the "bfd/hosts" directory is shared by the bfd, opcodes, and
5# binutils directories (at least), the index to it is also shared.
6# This is that index. Each configure.in file should source this file
7# in its per-host part.
8
9# This sets the following shell variables:
10# HDEFINES host specific compiler options
11# host64 set to true if 64 bit types are as fast as 32 bit
12# HOST_64BIT_TYPE host 64 bit type
13# HOST_U_64BIT_TYPE unsigned 64 bit type (not needed if 64BIT_TYPE is long)
14
15HDEFINES=
16host64=false
17HOST_64BIT_TYPE=
18HOST_U_64BIT_TYPE=
19
20case "${host}" in
21
22alpha*-*-*) host64=true; HOST_64BIT_TYPE=long ;;
23
64328b46
AM
24hppa*64*-*-hpux*) HDEFINES=-DHOST_HPPAHPUX;
25 host64=true; HOST_64BIT_TYPE=long ;;
252b5132
RH
26hppa*-*-hpux*) HDEFINES=-DHOST_HPPAHPUX ;;
27hppa*-*-hiux*) HDEFINES=-DHOST_HPPAHPUX ;;
64328b46 28hppa*64*-*-linux*) host64=true; HOST_64BIT_TYPE=long ;;
252b5132
RH
29hppa*-*-mpeix*) HDEFINES=-DHOST_HPPAMPEIX ;;
30hppa*-*-bsd*) HDEFINES=-DHOST_HPPABSD ;;
31hppa*-*-osf*) HDEFINES=-DHOST_HPPAOSF ;;
32
800eeca4 33ia64-*-linux*) host64=true; HOST_64BIT_TYPE=long ;;
1b3e3744
AM
34ia64-*-hpux*) host64=true
35 HOST_64BIT_TYPE="long long";
36 HOST_U_64BIT_TYPE="unsigned long long";
37 ;;
800eeca4 38
80c7c40a
NC
39i[3-7]86-sequent-bsd*) HDEFINES=-Dshared=genshared ;;
40i[3-7]86-sequent-sysv4*) ;;
41i[3-7]86-sequent-sysv*) HDEFINES=-Dshared=genshared ;;
252b5132 42
3dc70b57 43mips*-*-netbsd*) ;;
252b5132
RH
44mips*-*-openbsd*) ;;
45mips*-dec-*) HDEFINES="-G 4" ;;
46mips*-sgi-irix3*) HDEFINES="-G 4" ;;
47mips*-sgi-irix4*) HDEFINES="-G 4" ;;
48mips*-sgi-irix6*) host64=true
49 HOST_64BIT_TYPE="long long";
50 HOST_U_64BIT_TYPE="unsigned long long";
cbb1fd50 51 ;;
89084430 52mips64*-*-linux*) host64=true
cbb1fd50
NC
53 HOST_64BIT_TYPE="long long";
54 HOST_U_64BIT_TYPE="unsigned long long";
252b5132
RH
55 ;;
56mips*-*-sysv4*) ;;
57mips*-*-sysv*) HDEFINES="-G 4" ;;
58mips*-*-riscos*) HDEFINES="-G 4" ;;
59
60m68*-hp-hpux*) HDEFINES=-DHOST_HP300HPUX ;;
61
adfdf838
GK
62*-*-aix*) HOST_64BIT_TYPE="long long"
63 HOST_U_64BIT_TYPE="unsigned long long"
64 ;;
65
252b5132
RH
66*-*-solaris*) HOST_64BIT_TYPE="long long"
67 HOST_U_64BIT_TYPE="unsigned long long"
68 ;;
69
70*-*-windows*)
71 HOST_64BIT_TYPE=__int64
72 HOST_U_64BIT_TYPE="unsigned __int64"
73# The following krock is necessary because we can't run the build compiler
74# (MSVC) on the configure host, so we have to explicitly set the values here.
75# Note that this file is never run through autoconf, so we can't use any
76# autoconf macros here. Because of this, we have to muck with autoconf
77# variables explicitly.
78 ac_cv_func_mmap_fixed_mapped=no
79 ac_cv_header_time=no
80 ac_cv_func_getpagesize=no
81 ac_cv_func_madvise=no
82 ac_cv_func_mprotect=no
633fd09f
ILT
83 ac_cv_func_getuid=no
84 ac_cv_func_getgid=no
252b5132
RH
85 ac_cv_header_sys_file_h=no
86 ac_cv_header_sys_time_h=no
87 ac_cv_header_unistd_h=no
88 ;;
89esac
This page took 0.186135 seconds and 4 git commands to generate.