/[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.5 by mlosch, Mon Feb 13 13:11:19 2006 UTC revision 1.7 by jmc, Sun Mar 21 22:22:52 2010 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
   
 # $Header$  
2  #  #
3    # $Header$
4    # $Name$
5    
6  # tested on G4-PowerBook, 1GHz  # tested on G4-PowerBook, 1GHz
7  # cc-compiler is available only with the Apple Developer Tools,  # cc-compiler is available only with the Apple Developer Tools,
8  # so make sure that those are installed  # so make sure that those are installed
9  # g77 can be optained from FINK: http://fink.sourceforge.net  # g77 can be optained from FINK: http://fink.sourceforge.net
10  #  #
11    
12  CPP='/usr/bin/cpp -traditional -P'  CPP='/usr/bin/cpp -traditional -P'
13  FC=g77  FC=g77
14  LINK=g77  LINK=g77
 NOOPTFLAGS='-O0'  
15    
16  S64='$(TOOLSDIR)/set64bitConst.sh'  S64='$(TOOLSDIR)/set64bitConst.sh'
17  #EH3 MAKEDEPEND='${TOOLSDIR}/xmakedepend'  #EH3 MAKEDEPEND='${TOOLSDIR}/xmakedepend'
# Line 28  else Line 28  else
28      FFLAGS='-Wimplicit -Wunused -ffloat-store'      FFLAGS='-Wimplicit -Wunused -ffloat-store'
29      FOPTIM='-O0'      FOPTIM='-O0'
30  fi  fi
31    #ifndef REAL4_IS_SLOW
32    # _RS expands into real*4 and statements such as
33    # MAX(ABS(aV3d),myNorm) in ini_cg3d.F do not work with 'g77 -O3',
34    # so we have to lower the optimization level here to -O1;
35    # not clear why this is so, similar statements do work in ini_cg2d.F
36    #NOOPTFILES='ini_cg3d.F'
37    #NOOPTFLAGS='-O1 -funroll-loops'
38    #else
39    NOOPTFLAGS=-O0
40    #endif /* REAL4_IS_SLOW */
41    
42    

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

  ViewVC Help
Powered by ViewVC 1.1.22