/[MITgcm]/MITgcm/tools/build_options/linux_amd64_g77
ViewVC logotype

Diff of /MITgcm/tools/build_options/linux_amd64_g77

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.7 by jmc, Wed Dec 15 17:08:25 2010 UTC revision 1.8 by jmc, Mon May 16 19:03:37 2011 UTC
# Line 9  Line 9 
9  #  #
10    
11  FC=g77  FC=g77
12    CC=gcc34
13  DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4 -DNML_EXTENDED_F77'  DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4 -DNML_EXTENDED_F77'
14  CPP='cpp  -traditional -P'  CPP='cpp  -traditional -P'
15  NOOPTFLAGS='-O0'  NOOPTFLAGS='-O0'
# Line 44  if test -d /usr/include/netcdf-3 ; then Line 45  if test -d /usr/include/netcdf-3 ; then
45              LIBS='-L/usr/lib/netcdf-3'              LIBS='-L/usr/lib/netcdf-3'
46          fi          fi
47      fi      fi
48  elif test -d /usr/include/netcdf ; then  elif test -d /usr/include/netcdf -o -f /usr/include/netcdf.h ; then
49  #-- allows a "compat"(gcc 3.4) 2nd version of libs for g77 , next to the  #-- allows a "compat"(gcc 3.4) 2nd version of libs for g77 , next to the
50  #   standard one (for gfortran, gcc 4.x). But uses same include files.  #   standard one (for gfortran, gcc 4.x). But uses same include files.
51      INCLUDES='-I/usr/include/netcdf'      if test -d /usr/include/netcdf ; then
52           INCLUDES='-I/usr/include/netcdf'
53        fi
54      if test -d /usr/lib64/netcdf34 ; then      if test -d /usr/lib64/netcdf34 ; then
55          if test -f /usr/lib64/netcdf34/libnetcdf_g77.a ; then          if test -f /usr/lib64/netcdf34/libnetcdf_g77.a ; then
56              LIBS='-L/usr/lib64/netcdf34 -lnetcdf_g77'              LIBS='-L/usr/lib64/netcdf34 -lnetcdf_g77'

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.22