summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-08-09 18:55:31 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-08-09 18:55:31 (GMT)
commit6209f43296c5ca59dfe6b432b7e4b4f5371c0b08 (patch)
treed13f9d9da98b3db7e85108efb30938d1f279dc10
parentdd7693bde03b81f05dbde5a7e6c866951326946f (diff)
downloadhdf5-6209f43296c5ca59dfe6b432b7e4b4f5371c0b08.zip
hdf5-6209f43296c5ca59dfe6b432b7e4b4f5371c0b08.tar.gz
hdf5-6209f43296c5ca59dfe6b432b7e4b4f5371c0b08.tar.bz2
[svn-r21198] Change default fortran compiler to gfortran
Tested: cygwin
-rw-r--r--config/i686-pc-cygwin9
-rw-r--r--release_docs/INSTALL_Cygwin.txt2
2 files changed, 7 insertions, 4 deletions
diff --git a/config/i686-pc-cygwin b/config/i686-pc-cygwin
index a51adc3..9b1ab74 100644
--- a/config/i686-pc-cygwin
+++ b/config/i686-pc-cygwin
@@ -1,4 +1,4 @@
-# -*- shell-script -*-
+# -*- shell-script -*-
#
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
@@ -39,9 +39,9 @@ fi
if test "X-" = "X-$FC"; then
case $CC_BASENAME in
gcc*)
- FC=g95
+ FC=gfortran
FCLIBS=-lgcc
- FC_BASENAME=g95
+ FC_BASENAME=gfortran
;;
pgcc*)
FC=pgf90
@@ -61,6 +61,9 @@ else
# The PGI and Intel compilers are automatically detected below
ifc*|ifort*|pgf90*)
;;
+ gfortran)
+ FCLIBS=-lgcc
+ ;;
g95)
FCLIBS=-lgcc
;;
diff --git a/release_docs/INSTALL_Cygwin.txt b/release_docs/INSTALL_Cygwin.txt
index 8416dfc..5406820 100644
--- a/release_docs/INSTALL_Cygwin.txt
+++ b/release_docs/INSTALL_Cygwin.txt
@@ -181,7 +181,7 @@ Install HDF5 on Cygwin
example, if users want to configure HDF5 C/C++/Fortran
library with szip library enabled, with zlib library at
/cygdrive/c/usr/, and install HDF5 into directory
- /cygdrive/c/hdf5 using gcc/g++ as C/C++ compiler and g95
+ /cygdrive/c/hdf5 using gcc/g++ as C/C++ compiler and gfortran
as fortran compiler
$ ./configure