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

Diff of /MITgcm/tools/build_options/darwin_ppc_g77

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

revision 1.3 by edhill, Sun Aug 29 15:38:32 2004 UTC revision 1.6 by mlosch, Sat Oct 25 17:13:49 2008 UTC
# Line 11  Line 11 
11  CPP='/usr/bin/cpp -traditional -P'  CPP='/usr/bin/cpp -traditional -P'
12  FC=g77  FC=g77
13  LINK=g77  LINK=g77
 NOOPTFLAGS='-O0'  
14    
15  S64='$(TOOLSDIR)/set64bitConst.sh'  S64='$(TOOLSDIR)/set64bitConst.sh'
16  #MAKEDEPEND='${TOOLSDIR}/xmakedepend'  #EH3 MAKEDEPEND='${TOOLSDIR}/xmakedepend'
17  MAKEDEPEND=makedepend  #EH3 MAKEDEPEND=makedepend
18  DEFINES='-DWORDLENGTH=4'  DEFINES='-DWORDLENGTH=4'
19    INCLUDES='-I/sw/include'
20    LIBS='-L/sw/lib'
21    
22  #  For IEEE, use the "-ffloat-store" option  #  For IEEE, use the "-ffloat-store" option
23  if test "x$IEEE" = x ; then  if test "x$IEEE" = x ; then
# Line 26  else Line 27  else
27      FFLAGS='-Wimplicit -Wunused -ffloat-store'      FFLAGS='-Wimplicit -Wunused -ffloat-store'
28      FOPTIM='-O0'      FOPTIM='-O0'
29  fi  fi
30    #ifndef REAL4_IS_SLOW
31    # _RS expands into real*4 and statements such as
32    # MAX(ABS(aV3d),myNorm) in ini_cg3d.F do not work with 'g77 -O3',
33    # so we have to lower the optimization level here to -O1;
34    # not clear why this is so, similar statements do work in ini_cg2d.F
35    #NOOPTFILES='ini_cg3d.F'
36    #NOOPTFLAGS='-O1 -funroll-loops'
37    #else
38    NOOPTFLAGS=-O0
39    #endif /* REAL4_IS_SLOW */
40    
41    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.22