Re: general build question

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

 



On Mon, 2007-11-19 at 14:20 -0500, Andres Gonzalez wrote:
> Q: what actually does pkg-config do?

It prints the appropriate package configuration (compiler/linker/...)
flags to the standard output.  You can check the flags by simply issuing
pkg-config ... on the command line.

The backquote construct simply tells the shell to use the output of
pkg-config as if it were part of the current command.

> Q: do I use `pkg-config --cflags gtk+-2.0`  if I am using g++ and not
> gcc?

Yes because the flags are compatible.

> Q: what is the reference to: __gxx_personality_v0  ??
> Q: how do I resolve that undefined reference error?

See other response about -lstdc++.  You should remember to use g++ for
linking.


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux