NetCDF 3.4 for GNU Win32 B19

Hi,

  I just compiled NetCDF 3.4 with the most recent version of GNU Win32
(Beta 19) and EGCS-1.02.  Binaries and a patch for building it
yourself are available. See "README" file below for details. 

  Why should you use this GNU Win32 port of NetCDF rather than the
one based on M$ Visual C++? Here are a few reasons:

  1) GNU Win32 contains a Unix emulation layer which makes it 
     much easier to port Unix software to Win32 than using 
     Visual C++. The compiler is getting rather stable.

  2) You can't beat the price. 

  Enjoy!

        Arlindo.

............................................................................

                       GNU Win32 NetCDF Libraries

                            Arlindo da Silva
                        Data Assimilation Office
                               NASA/GSFC

                             27 March 1998


   This directory contains binary versions of Unidata's NetCDF package
compiled with Cygnus GNU Win32 C compiler (this is a port of gcc to
Windows 95/NT).  The NetCDF v3.4 libraries includes C, C++ and FORTRAN
bindings (but no Perl interface).


TOOLS USED:
----------

  C/C++ : Cygnus GNU Win32 v Beta 19 (*), with EGCS-1.02 binutils (**)

FORTRAN : GNU Fortran (g77) shiped with EGCS-1.02

  NetCDF: v 3.4 sources available from Unidata
          (http://www.unidata.ucar.edu)

    (*) GNU Win32 site: http://www.cygnus.com/gnu-win32

   (**) Win32 EGCS-1.02 site: 
              http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ 
       
  All these tools are FREE software.      


AVAILABILITY:
------------

  The pre-compiled NetCDF libraries can be obtained from:

  ftp://niteroi.gsfc.nasa.gov/pub/win32/unidata/netcdf/

  Sources are available from http://www.unidata.ucar.edu. See below
for my gnuwin32 patches.


DIRECTORY STRUCTURE:
-------------------

     bin/          ncdump, ncgen 
     lib/          libraries 
     include/      header files
     man/          Unix manual pages



PATCHES FOR COMPILING NetCDF 3.4 under GNU Win32 Beta 19/EGCS-1.02
------------------------------------------------------------------

Netcdf 3.4 builds with just a few small glitches. Here is how to build
it:

1) Grab sources from Unidata (ftp://ftp.unidata.ucar.edu) 

2) Grab the patch file:

   ftp://niteroi.gsfc.nasa.gov/pub/win32/unidata/netcdf/patch01

3) Un-tar sources and apply the patch:

   tar xvfz netcdf-3.4.tar.Z
   patch -p0 < patch01
   
4) Then configure and make it (do this from bash):

   cd netcdf-3.4/src
   ./configure
   make CXX=g++
   make CXX=g++ test
   make CXX=g++ install

   NOTE: Since Win32 is case insensitive, "CC" is the same as "cc"
         and the configure script was not clever enough to choose
         g++. Therefore, we specify CXX=g++ at the command line.



QUESTIONS:
---------

Notice that I DO NOT provide support for this software, but if
you have questions you may try to contact me at:

     Arlindo da Silva 
     Data Assimilation Office
     NASA/Goddard Space Flight Center
     dasilva@xxxxxxxxxxxx

                        --- // ---


  • 1998 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: