mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
[svn-r21198] Change default fortran compiler to gfortran
Tested: cygwin
This commit is contained in:
parent
dd7693bde0
commit
6209f43296
@ -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
|
||||
;;
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user