Warning, /tools/build_options/sunos_sun4u_f77 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
3e661b1a92 Ed H*0001 #!/bin/bash
0002 #
0003 #
b11b683e5a Mart*0004 # tested on
badad8fe5b Mart*0005 # SunOS model.awi-bremerhaven.de 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-15000
0006 # SunOS tphs14.awi-bremerhaven.de 5.8 Generic_117350-08 sun4u sparc SUNW,Sun-Blade-1000
b11b683e5a Mart*0007 # with f90: Forte Developer 7 Fortran 95 7.0 Patch 111714-03 2002/11/19
3e661b1a92 Ed H*0008
b11b683e5a Mart*0009
0010 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
3e661b1a92 Ed H*0011 S64='$(TOOLSDIR)/set64bitConst.sh'
0012 DEFINES='-DWORDLENGTH=4'
570cdf02c0 Mart*0013 #AWK='gawk'
3008d3e9c7 Mart*0014 MAKEDEPEND='$(TOOLSDIR)/cyrus-imapd-makedepend/makedepend'
0015 #MAKEDEPEND='$(TOOLSDIR)/xmakedepend'
570cdf02c0 Mart*0016 #MAKE='gmake'
3e661b1a92 Ed H*0017 CPP='/usr/ccs/lib/cpp -P'
badad8fe5b Mart*0018 # this one works, too
0019 #CPP='/opt/sfw/bin/cpp -traditional -P'
b11b683e5a Mart*0020 FC='f77'
0021 # This is an example of how to specify where your
0022 # netcdf libraries and include files are;
0023 # in this particular example, they are in
0024 # /usr/local/libs and /usr/local/include.
0025 INCLUDES='-I/usr/local/include'
0026 LIBS='-L/usr/local/lib'
0027
0028 if test "x$IEEE" = x ; then
0029 # No need for IEEE-754
0030 FFLAGS='-stackvar -explicitpar -vpara -e -u -noautopar -xtypemap=real:64,double:64,integer:32'
0031 FOPTIM='-dalign -O4 -xarch=native -fsimple=2'
0032 CFLAGS='-dalign -xO4 -xarch=native'
0033 else
0034 # Try to follow IEEE-754
0035 FFLAGS='-e -u -xtypemap=real:64,double:64,integer:32 -fsimple=0'
0036 FFLAGS='-e -u -xtypemap=real:64,double:64,integer:32 -fsimple=0'
0037 FOPTIM='-O0'
0038 CFLAGS='-xO0'
0039 fi
0040 NOOPTFLAGS='-dalign -O0'