Include bfd_elf64_sparc_vec if BFD64 is enabled.
[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
252b5132
RH
22hppa*-*-hpux*) HDEFINES=-DHOST_HPPAHPUX ;;
23hppa*-*-hiux*) HDEFINES=-DHOST_HPPAHPUX ;;
24hppa*-*-mpeix*) HDEFINES=-DHOST_HPPAMPEIX ;;
25hppa*-*-bsd*) HDEFINES=-DHOST_HPPABSD ;;
26hppa*-*-osf*) HDEFINES=-DHOST_HPPAOSF ;;
27
6726e1ea 28ia64-*-*) host64=true;;
800eeca4 29
80c7c40a
NC
30i[3-7]86-sequent-bsd*) HDEFINES=-Dshared=genshared ;;
31i[3-7]86-sequent-sysv4*) ;;
32i[3-7]86-sequent-sysv*) HDEFINES=-Dshared=genshared ;;
252b5132 33
3dc70b57 34mips*-*-netbsd*) ;;
252b5132
RH
35mips*-*-openbsd*) ;;
36mips*-dec-*) HDEFINES="-G 4" ;;
37mips*-sgi-irix3*) HDEFINES="-G 4" ;;
38mips*-sgi-irix4*) HDEFINES="-G 4" ;;
6726e1ea
L
39mips*-sgi-irix6*) host64=true;;
40mips64*-*-linux*) host64=true;;
252b5132
RH
41mips*-*-sysv4*) ;;
42mips*-*-sysv*) HDEFINES="-G 4" ;;
43mips*-*-riscos*) HDEFINES="-G 4" ;;
44
45m68*-hp-hpux*) HDEFINES=-DHOST_HP300HPUX ;;
46
252b5132
RH
47*-*-windows*)
48 HOST_64BIT_TYPE=__int64
49 HOST_U_64BIT_TYPE="unsigned __int64"
50# The following krock is necessary because we can't run the build compiler
51# (MSVC) on the configure host, so we have to explicitly set the values here.
52# Note that this file is never run through autoconf, so we can't use any
53# autoconf macros here. Because of this, we have to muck with autoconf
54# variables explicitly.
55 ac_cv_func_mmap_fixed_mapped=no
56 ac_cv_header_time=no
57 ac_cv_func_getpagesize=no
58 ac_cv_func_madvise=no
59 ac_cv_func_mprotect=no
633fd09f
ILT
60 ac_cv_func_getuid=no
61 ac_cv_func_getgid=no
252b5132
RH
62 ac_cv_header_sys_file_h=no
63 ac_cv_header_sys_time_h=no
64 ac_cv_header_unistd_h=no
65 ;;
66esac
This page took 0.193168 seconds and 4 git commands to generate.