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

Re: c++ support: will it be in form of a library?

Dan,

> Will the new C++ support be in the form of a library to be compiled
> once and then linked with various user programs?  The present system,
> with a couple of C++ files to be compiled into .o files and then
> linked with the user program, is somewhat inconvenient.  There would
> be a real advantage in writing e.g.
>       g++ -o myprog myprog.c -lnetcdf -lnetcdf-c++ -lm
> in a Makefile.  Plus, unix has a simple system for dealing with
> libSOMETHING.a files (e.g. directories where they are stored), whereas
> there is no well-known system for individual .o files to be linked
> with projects.

The new C++ patch is now available from 

    ftp://ftp.unidata.ucar.edu/pub/netcdf/2.3.2-patch4

and includes changes to the c++-directory Makefile so it builds a library
instead of just object files.  Thanks for the good suggestion.

______________________________________________________________________________

Russ Rew                                                UCAR Unidata Program
russ@xxxxxxxxxxxxxxxx                                          P.O. Box 3000
http://www.unidata.ucar.edu/                          Boulder, CO 80307-3000
______________________________________________________________________________


 
 
  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