forgive me if this is off topic..
i am new to c programming with gcc(using cygwin on WinXP)
I have gtk in my cygwin installation (in lib\gtk-2.0)..and was trying
to compile c code that uses gtk widgets..
...i tried the first example from gtk tutorial(http://www.gtk.org/
tutorial/) and used
gcc mycode.c -o mycode `pkg-config --cflags --libs gtk-2.0`
to compile it
i have pkg-config.exe in the cygwin/bin folder (which is set in
PATH)and still i get error msg
'gcc: `pkg-config: No such file or directory
gcc: gtk-2.0`: No such file or directory
cc1: error: unrecognized command line option "-fcflags"
cc1: error: unrecognized command line option "-flibs"
can anyone tell me how i can get this correctly compiled?
jim