#!/bin/bash # $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/build_options/darwin_ppc_g77,v 1.3 2004/08/29 15:38:32 edhill Exp $ # # tested on G4-PowerBook, 1GHz # cc-compiler is available only with the Apple Developer Tools, # so make sure that those are installed # g77 can be optained from FINK: http://fink.sourceforge.net # CPP='/usr/bin/cpp -traditional -P' FC=g77 LINK=g77 NOOPTFLAGS='-O0' S64='$(TOOLSDIR)/set64bitConst.sh' #MAKEDEPEND='${TOOLSDIR}/xmakedepend' MAKEDEPEND=makedepend DEFINES='-DWORDLENGTH=4' # For IEEE, use the "-ffloat-store" option if test "x$IEEE" = x ; then FFLAGS='-Wimplicit -Wunused -Wuninitialized' FOPTIM='-O3 -funroll-loops' else FFLAGS='-Wimplicit -Wunused -ffloat-store' FOPTIM='-O0' fi