Warning, /tools/build_options/darwin_ppc_g77 is written in an unsupported language. File is not indexed.
view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
7ecc54bc4d Ed H*0001 #!/bin/bash
0002 #
0003 # tested on G4-PowerBook, 1GHz
6144427bd2 Jean*0004 # cc-compiler is available only with the Apple Developer Tools,
0005 # so make sure that those are installed
7ecc54bc4d Ed H*0006 # g77 can be optained from FINK: http://fink.sourceforge.net
0007 #
0008
0009 FC=g77
0010 LINK=g77
0011
0012 S64='$(TOOLSDIR)/set64bitConst.sh'
eac9a193e2 Ed H*0013 #EH3 MAKEDEPEND='${TOOLSDIR}/xmakedepend'
0014 #EH3 MAKEDEPEND=makedepend
7a8d0b199d Jean*0015 DEFINES='-DWORDLENGTH=4 -DNML_EXTENDED_F77'
0016 CPP='/usr/bin/cpp -traditional -P'
0017
0018 EXTENDED_SRC_FLAG='-ffixed-line-length-132'
0019 GET_FC_VERSION="--version"
0020
d16c71fa21 Mart*0021 INCLUDES='-I/sw/include'
0022 LIBS='-L/sw/lib'
471cf7f1ef Ed H*0023
0024 # For IEEE, use the "-ffloat-store" option
0025 if test "x$IEEE" = x ; then
0026 FFLAGS='-Wimplicit -Wunused -Wuninitialized'
0027 FOPTIM='-O3 -funroll-loops'
0028 else
0029 FFLAGS='-Wimplicit -Wunused -ffloat-store'
0030 FOPTIM='-O0'
0031 fi
dbce0e643d Mart*0032 #ifndef REAL4_IS_SLOW
6144427bd2 Jean*0033 # _RS expands into real*4 and statements such as
dbce0e643d Mart*0034 # MAX(ABS(aV3d),myNorm) in ini_cg3d.F do not work with 'g77 -O3',
0035 # so we have to lower the optimization level here to -O1;
0036 # not clear why this is so, similar statements do work in ini_cg2d.F
0037 #NOOPTFILES='ini_cg3d.F'
0038 #NOOPTFLAGS='-O1 -funroll-loops'
0039 #else
0040 NOOPTFLAGS=-O0
0041 #endif /* REAL4_IS_SLOW */