Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Linux & netcdf-3.4

Hi,

I have just installed netcdf-3.4 on my PowerPC running Linux 
(pmac version 2.1.24), using egcs (instead of gcc-2.7.2).

environment settings:
   CPPFLAGS=-Df2cFortran
   CC=gcc
   CFLAGS="-O2 -fomit-frame-pointer -fsigned-char -pipe"
   FC=g77
   FFLAGS=-O2
   CXX=g++
   CXXFLAGS="$CFLAGS"

The compilations failed, while compiling ncgen/genlib.c due to an unused
definition at line 1204:

#define fpr    (void) fprintf

removing this line, and everything compiled just fine (C, Fortran and C++)

Thanks,

Richard

---
        e-mail  : Richard van Hees <R.M.vanHees@xxxxxxxxxx>
        date      : 10-Mar-98
        phone   : +31 (0)30 2532978
        www     : http://www.fys.ruu.nl/~hees


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690