Marco
Thank you for your heads-up, we have been building netCDF, hdf4, and hdf5 under
Cygwin. Arlindo has been making the packages for OpenGrads. See
http://sourceforge.net/projects/opengrads/files/ and I have been making the
simpler pure-unix i686-pc-cygwin for IGES
http://www.iges.org/grads/downloads.html
Recently, I have built all the GrADS SUPPLIBS for the MinGW native windows.
Here is the configure for netCDF.
$ ./configure --prefix=/mingw --disable-shared --disable-f77 --enable-netcdf4
--enable-dap --with-hdf5=/mingw --with-zlib=/mingw --with-jpeg=/mingw
--with-szlib=/mingw --with-curl=/mingw
## --------- ##
## Platform. ##
## --------- ##
hostname = victor
uname -m = i686
uname -r = 1.0.11(0.46/3/2)
uname -s = MINGW32_NT-6.0
uname -v = 2009-07-11 17:46
You are welcome to any information we have to build either Cygwin or native
Windows MinGW. Our most recent GrADS version used the netcdf-4.1.1-rc2,
HDF4.2r3, and hdf5-1.8.4-patch1 packages.
John Huddleston
-----Original Message-----
From: marco atzeri [mailto:marco.atzeri@xxxxxxxxx]
Sent: Monday, March 14, 2011 8:17 AM
To: moraes.dasilva@xxxxxxxxx
Cc: netcdfgroup@xxxxxxxxxxxxxxxx; Huddleston, John
Subject: Re: [netcdfgroup] 2 questions on make install
On Mon, Mar 14, 2011 at 2:25 PM, Arlindo da Silva wrote:
> On Fri, Mar 11, 2011 at 10:24 AM, marco atzeri > wrote:
>>
>> I am currently working on a official package of netcdf for cygwin.
>> http://cygwin.com/ml/cygwin-apps/2011-03/msg00039.html
>>
>> Compilation and testing are more or less fine, with the normal tuning
>> expected for building shared library on cygwin.
>>
>> the configuration I am using is:
>>
>> configure --enable-shared \
>> --enable-netcdf4 \
>> --enable-cxx-4 \
>> lt_cv_deplibs_check_method=pass_all \
>> LDFLAGS=-no-undefined
>>
>
> I am very glad you are taking this on. I maintain one of the GrADS
> win32 builds and have been building netcd-4 on cygwin for several
> years now. I am glad to report that the full netcdf-4 builds works flawlessly
> on cygwin.
The cygwin package just passed peer review, and it is available in cygwin.
I need just to make the announcement to make everyone aware.
> Would you consider adding
>
> --enable-dap
I will consider for 4.1.2
> to your configure? Also, enabling HDF-4 will make your build very
> useful as one would be able to transparently read HDF-4 files. The
> option in this case
> is:
> --enable-hdf4
There is no hdf4 package in cygwin. I released only hdf5 (last is 1.8.6)
> (although this last option is not necessary for GrADS). When building
> hdf-4 it is useful to specify
> --disable-netcdf
> (or at least have a version of the library with this option.) Having a
> full build would allow the full power of NetCDF-4 to be enjoyed on
> Windows as well. This is very important given the plethora of file
> formats one has to contend with these days.
> Let me know if you have any questions or if there is anything I can
> help with.
> Arlindo
> --
> Arlindo da Silva
Regards
Marco