2008 Unidata NetCDF Workshop for Developers and Data Providers > Porting and Testing the NetCDF C/Fortran/C++ Libraries
17.5 Porting NetCDF
The netCDF C/Fotran/C++ libraries are built and tested daily on a wide
variety of platforms. But it isn't always easy.
- We successfully build on Linux, Sun, AIX, Mac, and Windows before
each release.
- Fortran is a frequent problem.
- Almost all porting problems can be solved by setting the correct
compile and link flags for your compilers. These flags are:
CPPFLAGS, CFLAGS, FFLAGS, FCFLAGS, CXXFLAGS, LDFLAGS, LIBS.
- The solutions to most build problems can be found from the netCDF
web page. In particular, those available in the NetCDF Build
Troubleshooter box.
2008 Unidata NetCDF Workshop for Developers and Data Providers > Porting and Testing the NetCDF C/Fortran/C++ Libraries