OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [bfd/] [configure.host] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
# 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
 
15
HDEFINES=
16
host64=false
17
HOST_64BIT_TYPE=
18
HOST_U_64BIT_TYPE=
19
 
20
case "${host}" in
21
 
22
alpha*-*-*)             host64=true; HOST_64BIT_TYPE=long ;;
23
 
24
hppa*-*-hpux*)          HDEFINES=-DHOST_HPPAHPUX ;;
25
hppa*-*-hiux*)          HDEFINES=-DHOST_HPPAHPUX ;;
26
hppa*-*-mpeix*)         HDEFINES=-DHOST_HPPAMPEIX ;;
27
hppa*-*-bsd*)           HDEFINES=-DHOST_HPPABSD ;;
28
hppa*-*-osf*)           HDEFINES=-DHOST_HPPAOSF ;;
29
 
30
ia64-*-linux*)          host64=true; HOST_64BIT_TYPE=long ;;
31
ia64-*-aix*)            host64=true; HOST_64BIT_TYPE=long ;;
32
 
33
i[3456]86-sequent-bsd*) HDEFINES=-Dshared=genshared ;;
34
i[3456]86-sequent-sysv4*) ;;
35
i[3456]86-sequent-sysv*)        HDEFINES=-Dshared=genshared ;;
36
 
37
mips*-dec-netbsd*)      ;;
38
mips*-*-openbsd*)       ;;
39
mips*-dec-*)            HDEFINES="-G 4" ;;
40
mips*-sgi-irix3*)       HDEFINES="-G 4" ;;
41
mips*-sgi-irix4*)       HDEFINES="-G 4" ;;
42
mips*-sgi-irix6*)       host64=true
43
                        HOST_64BIT_TYPE="long long";
44
                        HOST_U_64BIT_TYPE="unsigned long long";
45
                        ;;
46
mips64*-*-linux*)       host64=true
47
                        HOST_64BIT_TYPE="long long";
48
                        HOST_U_64BIT_TYPE="unsigned long long";
49
                        ;;
50
mips*-*-sysv4*)         ;;
51
mips*-*-sysv*)          HDEFINES="-G 4" ;;
52
mips*-*-riscos*)        HDEFINES="-G 4" ;;
53
 
54
m68*-hp-hpux*)          HDEFINES=-DHOST_HP300HPUX ;;
55
 
56
*-*-aix*)               HOST_64BIT_TYPE="long long"
57
                        HOST_U_64BIT_TYPE="unsigned long long"
58
                        ;;
59
 
60
*-*-solaris*)           HOST_64BIT_TYPE="long long"
61
                        HOST_U_64BIT_TYPE="unsigned long long"
62
                        ;;
63
 
64
*-*-windows*)
65
                        HOST_64BIT_TYPE=__int64
66
                        HOST_U_64BIT_TYPE="unsigned __int64"
67
# The following krock is necessary because we can't run the build compiler
68
# (MSVC) on the configure host, so we have to explicitly set the values here.
69
# Note that this file is never run through autoconf, so we can't use any
70
# autoconf macros here.  Because of this, we have to muck with autoconf
71
# variables explicitly.
72
                        ac_cv_func_mmap_fixed_mapped=no
73
                        ac_cv_header_time=no
74
                        ac_cv_func_getpagesize=no
75
                        ac_cv_func_madvise=no
76
                        ac_cv_func_mprotect=no
77
                        ac_cv_func_getuid=no
78
                        ac_cv_func_getgid=no
79
                        ac_cv_header_sys_file_h=no
80
                        ac_cv_header_sys_time_h=no
81
                        ac_cv_header_unistd_h=no
82
                        ;;
83
esac

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.