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

Annotation of /MITgcm/tools/build_options/darwin_ppc_g77

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


Revision 1.3 - (hide annotations) (download)
Sun Aug 29 15:38:32 2004 UTC (19 years, 8 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint55c_post, checkpoint54e_post, checkpoint55b_post, checkpoint55, checkpoint54f_post, checkpoint55a_post
Changes since 1.2: +12 -4 lines
 o g77 cleanup
   - make IEEE more consistent
   - recent g77 versions forbid "-Wuninitialized" with "-O0"

1 edhill 1.1 #!/bin/bash
2    
3 edhill 1.3 # $Header: /u/gcmpack/MITgcm/tools/build_options/darwin_ppc_g77,v 1.2 2003/11/13 22:03:39 edhill Exp $
4 edhill 1.1 #
5     # tested on G4-PowerBook, 1GHz
6     # cc-compiler is available only with the Apple Developer Tools,
7     # so make sure that those are installed
8     # g77 can be optained from FINK: http://fink.sourceforge.net
9     #
10    
11     CPP='/usr/bin/cpp -traditional -P'
12     FC=g77
13     LINK=g77
14     NOOPTFLAGS='-O0'
15    
16     S64='$(TOOLSDIR)/set64bitConst.sh'
17     #MAKEDEPEND='${TOOLSDIR}/xmakedepend'
18     MAKEDEPEND=makedepend
19     DEFINES='-DWORDLENGTH=4'
20 edhill 1.3
21     # For IEEE, use the "-ffloat-store" option
22     if test "x$IEEE" = x ; then
23     FFLAGS='-Wimplicit -Wunused -Wuninitialized'
24     FOPTIM='-O3 -funroll-loops'
25     else
26     FFLAGS='-Wimplicit -Wunused -ffloat-store'
27     FOPTIM='-O0'
28     fi
29    
30    

  ViewVC Help
Powered by ViewVC 1.1.22