--- MITgcm/tools/build_options/sunos_sun4u_g77 2004/03/01 18:29:54 1.2 +++ MITgcm/tools/build_options/sunos_sun4u_g77 2005/02/26 07:25:21 1.6 @@ -1,21 +1,33 @@ #!/bin/bash # -# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/build_options/sunos_sun4u_g77,v 1.2 2004/03/01 18:29:54 edhill Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/build_options/sunos_sun4u_g77,v 1.6 2005/02/26 07:25:21 mlosch Exp $ # $Name: $ # +# tested without NetCDF support on +# SunOS model.awi-bremerhaven.de 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-15000 +# SunOS tphs14.awi-bremerhaven.de 5.8 Generic_117350-08 sun4u sparc SUNW,Sun-Blade-1000 +# with g77 version 2.95.3 20010315 (release) (from FSF-g77 version 0.5.25 20010315 (release)) - -FC=g77 -#DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4' +FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _" DEFINES='-DWORDLENGTH=4' -CPP='cpp -traditional -P' -NOOPTFLAGS='-O0' AWK='gawk' -MAKE='gmake' - -# netcdf -# LIBS="-lnetcdf" +MAKEDEPEND='$(TOOLSDIR)/xmakedepend' +#MAKE='gmake' +CPP='/usr/ccs/lib/cpp -P' +# this one works, too +#CPP='/opt/sfw/bin/cpp -traditional -P' +FC=g77 +CC=gcc +# This is an example of how to specify where your +# netcdf libraries and include files are; +# in this particular example, they are in +# /usr/local/libs and /usr/local/include. +# For g77, it is probably necessary to use libraries +# that have been compiled with g77 as well. +#INCLUDES='-I/usr/local/include' +#LIBS='-L/usr/local/lib -lnetcdf' +NOOPTFLAGS='-O0' # For IEEE, use the "-ffloat-store" option if test "x$IEEE" = x ; then FFLAGS='-Wimplicit -Wunused -Wuninitialized'