mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
[svn-r10880] Purpose:
Adding supports for cygwin Description: g95 needs special fortran flags to make it work cygwin. Solution: Add the flag on cygwin config file. Now gcc, g++ and g95 are supported on cygwin. Platforms tested: cygwinNT_5.1, Linux 2.4 Misc. update:
This commit is contained in:
parent
6bf7952de0
commit
40b72a28ac
@ -24,7 +24,12 @@ fi
|
||||
# The default Fortran 90 compiler
|
||||
if test "X-" = "X-$FC"; then
|
||||
case $CC_BASENAME in
|
||||
gcc*|pgcc*)
|
||||
gcc*)
|
||||
FC=g95
|
||||
FCLIBS=-lgcc
|
||||
FC_BASENAME=g95
|
||||
;;
|
||||
pgcc*)
|
||||
FC=pgf90
|
||||
FC_BASENAME=pgf90
|
||||
;;
|
||||
@ -42,7 +47,9 @@ else
|
||||
# The PGI and Intel compilers are automatically detected below
|
||||
ifc*|ifort*|pgf90*)
|
||||
;;
|
||||
|
||||
g95)
|
||||
FCLIBS=-lgcc
|
||||
;;
|
||||
*)
|
||||
# Figure out which compiler we are using: pgf90 or Absoft f95
|
||||
RM='rm -f'
|
||||
|
Loading…
x
Reference in New Issue
Block a user