This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Ben, >Date: Mon, 23 Nov 1998 14:28:43 -0600 (CST) >From: Ben Horner-Johnson <address@hidden> >Organization: Northwestern University >To: address@hidden >Subject: Re: 19981119: netcdf-3.4 on SunOS-4.1.3, gcc-2.8.1 >Keywords: 199811190734.AAA21680 In the above message, you wrote: > It worked! Great! > These are the environment variables to set > "SunOS miranda 4.1.3 5 sun4m": > > CC = gcc > CFLAGS= -O > CPPFLAGS='-DNDEBUG -Df2cFortran -D__USE_FIXED_PROTOTYPES__' > > FC = g77 > FFLAGS='-O -w' > > LIBS='-lstdc++' > LIBDIR='/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3/2.8.1' > > > (The CPPFLAGS may not need -D__USE_FIXED_PROTOTYPES__, but that was in the > environment that I'd been using to try to get this to work. I could try > again without it.) > > Thank you very much for all of the time spent getting this to work. Now I've > got to remember these details for other compile problems (if any). You might also consider upgrading your operating system and compilers. I think they're fairly cheap for educational institutions. -------- Steve Emmerson <http://www.unidata.ucar.edu>