Problem with gfortran and pkg-config
I've a problem using pkg-config for Fortran programs.
As shipped in sid (and squeeze), libnetcdf-dev includes a netcdf.pc
Now, to compile a fortran90 program I need to include
gfortran -I /usr/include foo.f90
to get netcdf.mod in the path. But pkg-config removes -I/usr/include
from the Cflags line in pkg-config.
Which is wrong, gfortran not reading /usr/include by default, or
removing /usr/include from CFLAGS ?
Alastair McKinstry<firstname.lastname@example.org> http://blog.sceal.ie
Anyone who believes exponential growth can go on forever in a finite world is either a madman or an economist - Kenneth Boulter, Economist.