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.
Sriki,
> Could you please email me the set of options to build netcdf-4.0.1 shared
> libs using GNU compilers?
> CC
> FC
> F90
> CXX
> CFLAGS, CPPFLAGS, FFLAGS ,F90FLAGS, CXXFLAGS, etc....
I don't know the details of building the netCDF 4 distribution. Based on my
knowledge of automake(1), however, I would imagine something like this:
make distclean
./configure CC=gcc CFLAGS='-O -m64' CXX=... FC=... F90=... ...
>configure.log 2>&2
Unfortunately, I don't know what the values of the Fortran and C++ related
variables should be.
I've CC'ed one of the developers of the netCDF package.
> Thanks
> sriki
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: JCR-555432
Department: Support netCDF Perl
Priority: Normal
Status: Closed