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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [libgfortran/] [configure.host] - Diff between revs 733 and 783

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 733 Rev 783
# configure.host
# configure.host
#
#
# This shell script handles all host based configuration for libgfortran.
# This shell script handles all host based configuration for libgfortran.
# It sets various shell variables based on the the host triplet.
# It sets various shell variables based on the the host triplet.
# You can modify this shell script without rerunning autoconf/aclocal/etc.
# You can modify this shell script without rerunning autoconf/aclocal/etc.
# This file is "sourced", not executed.
# This file is "sourced", not executed.
#
#
#
#
# It uses the following shell variables as set by config.guess:
# It uses the following shell variables as set by config.guess:
#   host                The configuration host (full CPU-vendor-OS triplet)
#   host                The configuration host (full CPU-vendor-OS triplet)
#   host_cpu            The configuration host CPU
#   host_cpu            The configuration host CPU
#   host_os             The configuration host OS
#   host_os             The configuration host OS
#
#
#
#
# It sets the following shell variables:
# It sets the following shell variables:
#
#
#   fpu_host            FPU-specific code file, defaults to fpu-generic.
#   fpu_host            FPU-specific code file, defaults to fpu-generic.
# DEFAULTS
# DEFAULTS
fpu_host='fpu-generic'
fpu_host='fpu-generic'
if test "x${have_feenableexcept}" = "xyes"; then
if test "x${have_feenableexcept}" = "xyes"; then
  fpu_host='fpu-glibc'
  fpu_host='fpu-glibc'
fi
fi
# x86 asm should be used instead of glibc, since glibc doesn't support
# x86 asm should be used instead of glibc, since glibc doesn't support
# the x86 denormal exception.
# the x86 denormal exception.
case "${host_cpu}" in
case "${host_cpu}" in
  i?86 | x86_64)
  i?86 | x86_64)
    fpu_host='fpu-387' ;;
    fpu_host='fpu-387' ;;
esac
esac
if test "x${have_fpsetmask}" = "xyes"; then
if test "x${have_fpsetmask}" = "xyes"; then
  fpu_host='fpu-sysv'
  fpu_host='fpu-sysv'
fi
fi
if test "x${have_fp_enable}" = "xyes" && test "x${have_fp_trap}" = "xyes"; then
if test "x${have_fp_enable}" = "xyes" && test "x${have_fp_trap}" = "xyes"; then
  fpu_host='fpu-aix'
  fpu_host='fpu-aix'
fi
fi
# Some targets require additional compiler options for NaN/Inf.
# Some targets require additional compiler options for NaN/Inf.
ieee_flags=
ieee_flags=
case "${host_cpu}" in
case "${host_cpu}" in
  sh*)
  sh*)
    ieee_flags="-mieee" ;;
    ieee_flags="-mieee" ;;
esac
esac
 
 

powered by: WebSVN 2.1.0

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