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.
John, > Date: Fri, 18 Feb 2000 08:49:29 -0700 > From: "John Huddleston" <address@hidden> > To: <address@hidden> > Subject: Re: Building the fortran interface of netcdf under Cygwin In the above message, you wrote: > I was able to make the Fortran interface to netCDF work. > > I modified the cfortran.h file to include the define check > for the __CYGWIN__ and on the compile lines for the > C source code, I added the -Dunix and -Df2cFortran > definitions. I did this in the fortran and the nf_test > directories. > > All tests passed. Is it possible on your next release > of the netCDF library that you add this to the configure > stage? I've added the check for __CYGWIN__ to the cfortran.h file in a way that won't cause any problems. This will be in the next release. I'm not sure about the -Dunix, though. I can't find anyplace where it would make any difference. Regards, Steve Emmerson <http://www.unidata.ucar.edu>