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.
Bill, >Date: Tue, 15 Jul 1997 16:04:49 -0400 >From: Bill Hudson <address@hidden> >Organization: Pennsylvania State University/Applied Research Laboratory >To: address@hidden >Subject: Installing netcdf >Keywords: 199707151311.HAA19835 In the above message, you wrote: > As you suggested there is an "-Aa" switch to make the cc ANSI C ANS > X3.159-1989 compatible. How would you suggest I implement it and do I repeat > any of the first procedure? i.e. make clean, etc. Try the following: 1. Go to the top-level source directory. 2. Execute the command "make clean". 3. Set the following environment variables to the indicated values: CPPFLAGS='-DNDEBUG -D_HPUX_SOURCE' CC=cc CFLAGS='-O -Aa' FC= CXX=CC 4. Execute the configure script. 5. Execute the command "make". 6. Execute the command "make test". With #'s 4, 5, and 6 above, redirect standard output and standard error to a file. If an error occurs, stop and send me the file. -------- Steve Emmerson <http://www.unidata.ucar.edu>