table of contents
nc-config(1) | General Commands Manual | nc-config(1) |
NAME¶
nc-config - Library build utility for Unidata network Common Data Form (netCDF) library.
SYNOPSIS¶
nc-config [options]
DESCRIPTION¶
The nc-config program is a little helper utility for easy configuring and building applications based on the netCDF library. It can be used to query the C and Fortran compiler and linker flags which are required to correctly compile and link the application against the netCDF library.
OPTIONS¶
- --prefix
- Display the install-prefix of netCDF
- --all
- Displays all options
- --cc
- Display the C compiler used to compile netCDF
- --cxx
- Display the C++ compiler used to compile netCDF
- --cflags
- Display the C compiler flags needed to compile with netCDF
- --fflags
- Display the compiler flags needed to compile a Fortran program
- --has-dap
- Display whether OPeNDAP is enabled in this build
- --has-nc2
- Display whether NetCDF-2 API is enabled
- --has-nc4
- Display whether NetCDF-4/HDF-5 is enabled in this build
- --has-hdf5
- Same as --has-nc4
- --has-f77
- Display whether Fortran 77 API is enabled in this build
- --has-f90
- Display whether Fortran 90 API is enabled in this build
- --has-c++
- Display whether C++ API is enabled in this build
- --libs
- Display the libraries needed to link with netCDF
- --flibs
- Display the libraries needed to link a Fortran program
- --version
- Display the version of netCDF
- --help
- prints this message
This describes netCDF version 4.0.1