compiling gnome programs



can I use gnome-config in the same context as gtk-config when compiling
gnome programs?

for example:
gcc -Wall -g gnomeprog.c -o gnomeprog `gnome-config --libs`
`gnome-config --cflags`

If so, this doesn't work...
when I do:

$ gtk-config --libs
-L/usr/local/lib -L/usr/X11R6/lib -lgtk-1.1 -lgdk-1.1 -lglib-1.1 -lXext
-lX11 -lm

$ gtk-config --cflags
-I/usr/X11R6/include 0I/usr/local/lib/glib/include -I/usr/local/include

$ gnome-config --libs
$ (just returns a new line)

$ gnome-config --cflags
$ (just returns a new line)

is gnome-config supposed to return something when you do 'gnome-config
xxx'?
how can I set the values of gnome-config, and what should I set them to?

I am using gnome-config from gnome-libs 0.27 if it matters...

thanks,
Aaron



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]