[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20000218: Re: add CYGWIN to cfortran.h?



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>