Oh dear - it looks like setting the compiler directories isn't as simple as I thought. Let's take the GTK headers as an example. Many source files contain lines like this:-
Note the use of angle brackets to indicate that the folder & file are relative to the compiler's location. The full path to gtk.h is actually
C:/cygwin/usr/include/gtk-2.0/gtk/. So the compiler (gcc.exe) would need to be in
C:/cygwin/usr/include/gtk-2.0/ for this to work. Unfortunately, gcc.exe is actually located in
C:/cygwin/bin/ so the required file can't be found. Is there a way to correct this without needing to specify the full path of every standard header? I guess I need to set something up so that
C:/cygwin/usr/include/gtk-2.0/ gets used as the starting point. Hope that makes sense.