I am trying to use the Cygwin method for re-learning C using 21st Century C book by Ben Klemens. I've installed Cygwin and have been using apt-cyg to install the packages mentioned in the book. The packages seem to install fine, I can call gcc, make, pkg-config, etc... but pkg-config can't seem to find anything. More specifically this cannot find anything:
$ pkg-config --libs gsl
$ pkg-config --cflags gsl
I've seen a couple questions that talk about changing the path. I've tried changing it to:
$ export PKG_CONFIG_PATH=c:\\cygwin\\usr\\local\\lib\\pkgconfig
$ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
$ export PKG_CONFIG_PATH=C:\\cygwin\\bin
I also already have all of this installed:
- binutils
- gcc
- gcc-core
- gcc-g++
- make
- gdb
- gsl
I verified they are installed using:
$ cygcheck -c | grep {string}
Admittedly, I'm not greatly familiar with Linux systems otherwise it'd be my main system and I'd not be using Cygwin ;)