diff options
author | Jing Yu <jingyu@google.com> | 2011-12-19 16:56:54 -0800 |
---|---|---|
committer | Jing Yu <jingyu@google.com> | 2011-12-19 16:56:54 -0800 |
commit | 40d7cd0fd78fe2004e2a53c4618c148339b02733 (patch) | |
tree | 5874557a6c86a1f564a03e5f28b266e31bc3759c /gcc-4.6/libgfortran/configure.host | |
parent | fe2afdf3f3701489c05d2a7509752d6f0c7616f7 (diff) | |
download | toolchain_gcc-40d7cd0fd78fe2004e2a53c4618c148339b02733.tar.gz toolchain_gcc-40d7cd0fd78fe2004e2a53c4618c148339b02733.tar.bz2 toolchain_gcc-40d7cd0fd78fe2004e2a53c4618c148339b02733.zip |
Add gcc-4.6. Synced to @180989
Change-Id: Ie3676586e1d8e3c8cd9f07d022f450d05fa08439
svn://gcc.gnu.org/svn/gcc/branches/google/gcc-4_6-mobile
Diffstat (limited to 'gcc-4.6/libgfortran/configure.host')
-rw-r--r-- | gcc-4.6/libgfortran/configure.host | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/gcc-4.6/libgfortran/configure.host b/gcc-4.6/libgfortran/configure.host new file mode 100644 index 000000000..eb68c934c --- /dev/null +++ b/gcc-4.6/libgfortran/configure.host @@ -0,0 +1,47 @@ +# configure.host +# +# This shell script handles all host based configuration for libgfortran. +# It sets various shell variables based on the the host triplet. +# You can modify this shell script without rerunning autoconf/aclocal/etc. +# This file is "sourced", not executed. +# +# +# It uses the following shell variables as set by config.guess: +# host The configuration host (full CPU-vendor-OS triplet) +# host_cpu The configuration host CPU +# host_os The configuration host OS +# +# +# It sets the following shell variables: +# +# fpu_host FPU-specific code file, defaults to fpu-generic. + + +# DEFAULTS +fpu_host='fpu-generic' + +# HOST-SPECIFIC OVERRIDES +case "${host_cpu}" in + i?86 | x86_64) + fpu_host='fpu-387' ;; +esac + +# CONFIGURATION-SPECIFIC OVERRIDES +if test "x${have_feenableexcept}" = "xyes"; then + fpu_host='fpu-glibc' +fi + +if test "x${have_fpsetmask}" = "xyes"; then + fpu_host='fpu-sysv' +fi + +if test "x${have_fp_enable}" = "xyes" && test "x${have_fp_trap}" = "xyes"; then + fpu_host='fpu-aix' +fi + +# Some targets require additional compiler options for NaN/Inf. +ieee_flags= +case "${host_cpu}" in + sh*) + ieee_flags="-mieee" ;; +esac |