Skip to main content.
home | support | download

Back to List Archive

Re: API make errors

From: David L Norris <dave(at)>
Date: Mon Nov 15 2004 - 19:19:18 GMT
On Mon, 2004-11-15 at 10:53 -0800, Bill Moseley wrote:
> How does "pkg-config" work post-install?  That is, how do you use it
> to get info about swish-e?

Here's an example for GTK+:

$ pkg-config --modversion gtk+

$ pkg-config --libs gtk+
-rdynamic -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -ldl
-lXi -lXext -lX11 -lm

$ pkg-config --cflags gtk+
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -

$ pkg-config --variable=prefix gtk+

 David Norris
  ICQ - 412039
Received on Mon Nov 15 11:19:28 2004