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

Diff of /MITgcm/tools/build_options/darwin_ia32_gfortran

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

revision 1.1 by dfer, Tue Nov 28 19:01:36 2006 UTC revision 1.2 by heimbach, Tue Dec 5 22:15:42 2006 UTC
# Line 2  Line 2 
2    
3  # $Header$  # $Header$
4  #  #
5  # cc-compiler is available only with the Apple Developer Tools,  # tested on MacBook Pro
6  # so make sure that those are installed  # on 28-Nov-2006
 #  
7    
8  CPP='/usr/bin/cpp -traditional -P -xassembler-with-cpp'  CPP='/usr/bin/cpp -traditional -P'
9  FC=gfortran  FC=gfortran
10    ###CC=gcc
11  LINK=gfortran  LINK=gfortran
12  NOOPTFLAGS='-O0'  NOOPTFLAGS='-O0'
13    
# Line 15  S64='$(TOOLSDIR)/set64bitConst.sh' Line 15  S64='$(TOOLSDIR)/set64bitConst.sh'
15  #EH3 MAKEDEPEND='${TOOLSDIR}/xmakedepend'  #EH3 MAKEDEPEND='${TOOLSDIR}/xmakedepend'
16  #EH3 MAKEDEPEND=makedepend  #EH3 MAKEDEPEND=makedepend
17  DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4 -DNML_TERMINATOR'  DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4 -DNML_TERMINATOR'
18  INCLUDES='-I/Users/davidferreira/Documents/netcdf-3.6.1/gfortran/include'  INCLUDEDIRS='/sw/include'
19  LIBS='-L/Users/davidferreira/Documents/netcdf-3.6.1/gfortran/lib'  INCLUDES='-I/sw/include'
20    LIBS='-L/sw/lib -lnetcdf'
21    
22    ##INCLUDEDIRS='/Users/heimbach/NetCDF/netcdf-3.6.0-p1/gfortran/include'
23    ##INCLUDES='-I/Users/heimbach/NetCDF/netcdf-3.6.0-p1/gfortran/include'
24    ##LIBS='-L/Users/heimbach/NetCDF/netcdf-3.6.0-p1/gfortran/lib -lnetcdf'
25    
26    ###FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) _ ## X ## _"
27    ###FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"
28    ###FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
29    
30  #  For IEEE, use the "-ffloat-store" option  #  For IEEE, use the "-ffloat-store" option
31  if test "x$IEEE" = x ; then  if test "x$IEEE" = x ; then
32  #   FFLAGS='-Wunused -Wuninitialized -fsecond-underscore'      FFLAGS='-Wunused -Wuninitialized -fsecond-underscore'
     FFLAGS='-Wunused -Wuninitialized'  
33      FOPTIM='-O3 -funroll-loops'      FOPTIM='-O3 -funroll-loops'
 #   FOPTIM='-O3 -malign-double -funroll-loops'  
34  else  else
35      FFLAGS='-Wunused -ffloat-store -fsecond-underscore'      FFLAGS='-Wunused -ffloat-store -fsecond-underscore'
36      FOPTIM='-O0'      FOPTIM='-O0'

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22