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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgfortran/] [configure.host] - Blame information for rev 775

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 733 jeremybenn
# configure.host
2
#
3
# This shell script handles all host based configuration for libgfortran.
4
# It sets various shell variables based on the the host triplet.
5
# You can modify this shell script without rerunning autoconf/aclocal/etc.
6
# This file is "sourced", not executed.
7
#
8
#
9
# It uses the following shell variables as set by config.guess:
10
#   host                The configuration host (full CPU-vendor-OS triplet)
11
#   host_cpu            The configuration host CPU
12
#   host_os             The configuration host OS
13
#
14
#
15
# It sets the following shell variables:
16
#
17
#   fpu_host            FPU-specific code file, defaults to fpu-generic.
18
 
19
 
20
# DEFAULTS
21
fpu_host='fpu-generic'
22
 
23
if test "x${have_feenableexcept}" = "xyes"; then
24
  fpu_host='fpu-glibc'
25
fi
26
 
27
# x86 asm should be used instead of glibc, since glibc doesn't support
28
# the x86 denormal exception.
29
case "${host_cpu}" in
30
  i?86 | x86_64)
31
    fpu_host='fpu-387' ;;
32
esac
33
 
34
if test "x${have_fpsetmask}" = "xyes"; then
35
  fpu_host='fpu-sysv'
36
fi
37
 
38
if test "x${have_fp_enable}" = "xyes" && test "x${have_fp_trap}" = "xyes"; then
39
  fpu_host='fpu-aix'
40
fi
41
 
42
# Some targets require additional compiler options for NaN/Inf.
43
ieee_flags=
44
case "${host_cpu}" in
45
  sh*)
46
    ieee_flags="-mieee" ;;
47
esac

powered by: WebSVN 2.1.0

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